-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
dont let users submit work unless they've started work #2799
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2799 +/- ##
==========================================
+ Coverage 28.83% 28.84% +<.01%
==========================================
Files 164 164
Lines 13125 13130 +5
Branches 1755 1756 +1
==========================================
+ Hits 3785 3787 +2
- Misses 9233 9235 +2
- Partials 107 108 +1
Continue to review full report at Codecov.
|
@@ -30,5 +30,8 @@ def save_profile(backend, user, response, request, *args, **kwargs): | |||
if handle in settings.BLOCKED_USERS: | |||
raise SuspiciousOperation('You cannot login') | |||
|
|||
if not user.active: |
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.
@mbeacom this look ok?
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 🚢
They should be unable to login if |
Description
dont let users submit work unless they've started work
Checklist
Affected core subsystem(s)
fulfill work
Testing
tested it locally
Refers/Fixes
https://gitcoincore.slack.com/archives/CAXQ7PT60/p1542113751027400