-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implementing registering user on first SSO #75
Implementing registering user on first SSO #75
Conversation
Implemented registering user via SSO, where they will have no password and will be redirected back to SSO on regular login attempt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed this else statement last time.
|
||
if user.auth(request.form["password"]) is True: | ||
if user.is_sso: | ||
# User created via sso -> redirect to sso login |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Your code is self describing. Those comments are redundant.
Fixes #48