diff --git a/res_users.py b/res_users.py index 6e8f6f41015a21290418ebabcbe4fe0fd109d85c_cmVzX3VzZXJzLnB5..06561b5c943a6d4d8f4377f069d734dd523e3eaf_cmVzX3VzZXJzLnB5 100644 --- a/res_users.py +++ b/res_users.py @@ -98,6 +98,10 @@ assert len(user_ids) == 1 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}) return user.login