# HG changeset patch # User Florent Aide <florent.aide@gmail.com> # Date 1413446546 -7200 # Thu Oct 16 10:02:26 2014 +0200 # Node ID 06561b5c943a6d4d8f4377f069d734dd523e3eaf # Parent 6e8f6f41015a21290418ebabcbe4fe0fd109d85c Add TODO for multi access diff --git a/res_users.py b/res_users.py --- 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