Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

注册审核 #10

Open
JeldorPKU opened this issue Jul 7, 2015 · 7 comments
Open

注册审核 #10

JeldorPKU opened this issue Jul 7, 2015 · 7 comments

Comments

@JeldorPKU
Copy link
Contributor

使用学号和姓名作为注册的验证信息,调用PKU Helper的接口进行验证,通过的可以获得正常会员的论坛权限。

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Jul 9, 2015

@ckcz123 API 长啥样儿呀。。。

@huxuan
Copy link
Member

huxuan commented Jul 11, 2015

提醒一下,需要考虑一个问题,1,这个API实际上是不能公开的,因为安全性等诸多原因,学校设计的API神马的,呵呵~2,我们这个repo是开源的,所以使用API的时候就暴露了

@JeldorPKU
Copy link
Contributor Author

我们这个repo是开源的,所以使用API的时候就暴露了

能把这个接口的地址写在一个config里面吗?就像数据库用户名密码那样~这样上线之后我们把那个接口的地址加上就行了。 @huxuan

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Jul 13, 2015

哦这个提醒有道理~ @huxuan

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Jul 13, 2015

嗯不把学校给的 key 暴露了应该就没问题吧。。。

@ckcz123
Copy link
Member

ckcz123 commented Jul 13, 2015

我会单独写一个,只接收学号和姓名,然后返回1/0/-1;不会造成影响。

@zhzhzoo
Copy link
Contributor

zhzhzoo commented Jul 15, 2015

为啥是三个值。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants