-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Added ability to configure email verification for registered user #1929
Conversation
Removed unused code
Pull Request Test Coverage Report for Build 7081
💛 - Coveralls |
@azhavoro , please resolve conflicts? |
@zhiltsov-max , could you please look and test the PR? |
A bit of documentation on this feature wouldn't be extraneous. I have a suspicion, that enabling mandatory verification after a user has registered won't re-send an verification email. |
These settings can be used to test this PR (base.py):
Could you please add documentation about the feature into installation.md? |
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.
LGTM
cvat/settings/base.py
Outdated
@@ -149,7 +149,7 @@ def generate_ssh_keys(): | |||
'rest_framework.throttling.AnonRateThrottle', | |||
], | |||
'DEFAULT_THROTTLE_RATES': { | |||
'anon': '100/minute', | |||
'anon': '100/hour', |
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.
Why did you revert these changes?
cvat/settings/base.py
Outdated
@@ -205,13 +205,13 @@ def generate_ssh_keys(): | |||
# Django Auth | |||
DJANGO_AUTH_TYPE = 'BASIC' | |||
DJANGO_AUTH_DEFAULT_GROUPS = [] | |||
LOGIN_URL = 'rest_login' | |||
LOGIN_URL = '/auth/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.
Andrey, you have reverted a couple of PRs. It is my change to fix swagger after commit of serverless.
Resolve #1730,
THIS PR makes CVAT is ready to configure email verification for registered user with django-allauth app.
Motivation and context
It's important to have ability to verify user emails that can be used to restore password in future.
How has this been tested?
Manually
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.