Commit 44dd3d4a601b10cb009cce0412a05dd09d2f5348
Committed by
Sergio Oliveira
1 parent
3e89bbc3
Exists in
master
and in
39 other branches
Set a flag to update or not user's register
Set a boolean field to tell whether a user needs to update its register upon registering/logging in through browserid Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
colab/accounts/auth.py
colab/accounts/models.py
... | ... | @@ -26,6 +26,7 @@ class User(AbstractUser): |
26 | 26 | verification_hash = models.CharField(max_length=32, null=True, blank=True) |
27 | 27 | modified = models.DateTimeField(auto_now=True) |
28 | 28 | bio = models.CharField(max_length=200, null=True, blank=True) |
29 | + needs_update = models.BooleanField(default=False) | |
29 | 30 | |
30 | 31 | def check_password(self, raw_password): |
31 | 32 | ... | ... |