enlarge token length to 512 to allow fermet token 10/8610/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 17 Feb 2020 10:20:17 +0000 (10:20 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 17 Feb 2020 10:20:56 +0000 (10:20 +0000)
Change-Id: Ied309a80e4bb4b1f2b7678d08bfd5bcfd36829fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
authosm/models.py

index 74c1f1e..09adfed 100644 (file)
@@ -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=255)
+    token = models.CharField(_('token'), max_length=512)
     project_id = models.CharField(_('project_id'), max_length=36)
     project_name = models.CharField(_('project_name'), max_length=36, default='')
     token_expires = models.FloatField(_('token_expires'), max_length=36)