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 <eduardo.sousa@canonical.com>
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 @@
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)