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

디미고 계정이 있는 경우 id만 검사 #16

Open
junhoyeo opened this issue Aug 22, 2019 · 0 comments
Open

디미고 계정이 있는 경우 id만 검사 #16

junhoyeo opened this issue Aug 22, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@junhoyeo
Copy link
Contributor

junhoyeo commented Aug 22, 2019

user = await request.app.db.users.find_one({
'id': _id
}) # check if _id exists in DB
if not user:
# if not, query student profile with token and save to DB
dimigoin_token = await dimigo_auth(_id, _password)
if not dimigoin_token: # 잘못된 로그인

@junhoyeo junhoyeo added the bug Something isn't working label Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant