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

global: fix user register #30

Merged
merged 1 commit into from
Dec 16, 2015

Conversation

hachreak
Copy link
Member

  • Introduces the possibility to "ask for email confirmation" in case
    the provider doesn't return any user email (e.g. with orcid).

Signed-off-by: Leonardo Rossi leonardo.r@cern.ch

@jirikuncar jirikuncar added this to the v1.0.0 milestone Dec 15, 2015
@jirikuncar jirikuncar self-assigned this Dec 15, 2015
# Save token if used is authenticated
if current_user.is_authenticated:
uid = current_user.get_id()
# Save token if used is not anonymous (user exists but can be not active at
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Save token if user is not anonymous ...

'OAUTHCLIENT_REMOTE_APPS']
[remote.name].get('remember', False)):
# redirect the user after registration (which doesn't include the
# activation), waiting user confirm his email
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting for user to confirm his email.

@hachreak hachreak force-pushed the fix_register_orcid branch 2 times, most recently from f2cdc1d to 7a0da33 Compare December 15, 2015 14:52
@@ -115,11 +117,15 @@
DEBUG=True,
SECRET_KEY='TEST',
SECURITY_PASSWORD_SALT='security-password-salt',
SECURITY_LOGIN_WITHOUT_CONFIRMATION=False,
# MAIL_SUPPRESS_SEND=False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO we can remove this comment and TESTING. Thanks

* Introduces the possibility to "ask for email confirmation" in case
  the provider does not return any user email (e.g. with orcid).

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
@jirikuncar jirikuncar merged commit 2a20c48 into inveniosoftware:master Dec 16, 2015
@hachreak hachreak deleted the fix_register_orcid branch December 17, 2015 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants