diff --git a/dal/dal/models.py b/dal/dal/models.py index e197640..7dee319 100644 --- a/dal/dal/models.py +++ b/dal/dal/models.py @@ -10,5 +10,6 @@ class ResetToken(models.Model): # should be <100, but big usernames make bigger tokens # if I read that correctly token = models.CharField(max_length=255) - # Just so we are save for the next few decades ;) + # creation time in epoch (UTC) + # BigInt just so we are save for the next few decades ;) creation = models.BigIntegerField() diff --git a/dal/dal/settings.py b/dal/dal/settings.py index 7ee1070..efa4353 100644 --- a/dal/dal/settings.py +++ b/dal/dal/settings.py @@ -99,6 +99,7 @@ MIDDLEWARE = [ AUTHENTICATION_BACKENDS = ( 'django_auth_ldap.backend.LDAPBackend', +# we only use LDAP for this service, so no auth against the standard DB # 'django.contrib.auth.backends.ModelBackend', ) diff --git a/dal/dal/templates/resetpassword.html b/dal/dal/templates/resetpassword.html index 06ba5a9..e55e4e8 100644 --- a/dal/dal/templates/resetpassword.html +++ b/dal/dal/templates/resetpassword.html @@ -2,9 +2,8 @@