diff --git a/app/views/users.py b/app/views/users.py
index 7efc08e1ad..a9e1af4f57 100644
--- a/app/views/users.py
+++ b/app/views/users.py
@@ -234,7 +234,9 @@ def create_user_form(user_name=None, edit=0, all_roles=True):
H.append(f"
Modification de l'utilisateur {user_name}
")
submitlabel = "Modifier utilisateur"
if "roles_string" in initvalues:
- initvalues["roles"] = initvalues["roles_string"].split(",")
+ initvalues["roles"] = [
+ r.strip() for r in initvalues["roles_string"].split(",")
+ ]
else:
initvalues["roles"] = []
if "date_expiration" in initvalues:
diff --git a/flask_cas/routing.py b/flask_cas/routing.py
index 40112057d3..2a66f49450 100644
--- a/flask_cas/routing.py
+++ b/flask_cas/routing.py
@@ -107,7 +107,7 @@ def validate(ticket):
Will attempt to validate the ticket. If validation fails, then False
is returned. If validation is successful, then True is returned
and the validated username is saved in the session under the
- key `CAS_USERNAME_SESSION_KEY` while tha validated attributes dictionary
+ key `CAS_USERNAME_SESSION_KEY` while the validated attributes dictionary
is saved under the key 'CAS_ATTRIBUTES_SESSION_KEY'.
"""
diff --git a/sco_version.py b/sco_version.py
index 77a09ba3d1..17cdecb70d 100644
--- a/sco_version.py
+++ b/sco_version.py
@@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
-SCOVERSION = "9.4.53"
+SCOVERSION = "9.4.54"
SCONAME = "ScoDoc"