From: tierno Date: Mon, 17 Feb 2020 10:20:17 +0000 (+0000) Subject: enlarge token length to 512 to allow fermet token X-Git-Tag: v7.1.0rc1~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F8610%2F1;p=osm%2FLW-UI.git enlarge token length to 512 to allow fermet token Change-Id: Ied309a80e4bb4b1f2b7678d08bfd5bcfd36829fe Signed-off-by: tierno --- diff --git a/authosm/models.py b/authosm/models.py index 74c1f1e..09adfed 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=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)