From: Eduardo Sousa Date: Fri, 7 Jun 2019 08:35:07 +0000 (+0100) Subject: Token length increased to 255 X-Git-Tag: v6.0.0~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8efc923308ffeb9800e75c7b74db0faabd82e20e;p=osm%2FLW-UI.git Token length increased to 255 Token length needs to be bigger than 205 to accomodate Fernet tokens from Keystone. Change-Id: I7fba58047ec3eace496db6f76dbb3e840f4d9364 Signed-off-by: Eduardo Sousa --- diff --git a/authosm/models.py b/authosm/models.py index 790e684..d03e6d2 100644 --- a/authosm/models.py +++ b/authosm/models.py @@ -67,7 +67,7 @@ class AbstractOsmUser(AbstractBaseUser, PermissionsMixin): current_project = models.CharField(_('project_id'), max_length=255) psw = models.CharField(_('psw'), max_length=36) - token = models.CharField(_('token'), max_length=36) + token = models.CharField(_('token'), max_length=255) project_id = models.CharField(_('project_id'), max_length=36) token_expires = models.FloatField(_('token_expires'), max_length=36)