enlarge token length to 512 to allow fermet token
[osm/LW-UI.git] / 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)