From fab2fa4d25c3e0065d3ca8632d0447a782f65448 Mon Sep 17 00:00:00 2001 From: tierno Date: Mon, 17 Feb 2020 10:20:17 +0000 Subject: [PATCH] enlarge token length to 512 to allow fermet token Change-Id: Ied309a80e4bb4b1f2b7678d08bfd5bcfd36829fe Signed-off-by: tierno --- authosm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1