Skip to content
Snippets Groups Projects
Commit 06561b5c943a authored by Florent Aide's avatar Florent Aide
Browse files

Add TODO for multi access

parent 6e8f6f41015a
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,10 @@ ...@@ -98,6 +98,10 @@
assert len(user_ids) == 1 assert len(user_ids) == 1
user = self.browse(cr, uid, user_ids[0], context=context) user = self.browse(cr, uid, user_ids[0], context=context)
# WARNING: writing this means you can only log-in once with a single
# user...
# TODO add a new table with access tokens linked to users
# in order to be able to log multiple times with the same user
user.write({'saml_access_token': saml_response}) user.write({'saml_access_token': saml_response})
return user.login return user.login
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment