Commit Graph

10 Commits (436ffcd53f3be98217ddb161282c0564aa0597bb)

Author SHA1 Message Date
Laurent Mignon (aka lmi) 436ffcd53f If HTTP_REMOTE_USER is in the request headers and no corresponding user is found in odoo always issues Unauthorized (avoid redirect to the login page)
If the uid in the session is not the same as the one from the binded HTTP_REMOTE_USER, always logout to clean up the session
2014-08-04 16:42:02 +02:00
Laurent Mignon (aka lmi) 8c7115e2d3 [FIX] return 'None' if no user name is found in the request hearder 2014-08-04 15:08:47 +02:00
Laurent Mignon (aka lmi) 97f491724f [PEP8] 2014-08-04 13:00:44 +02:00
Laurent Mignon (aka lmi) d68a47f05f [FIX] always check the uid in the session and the one in the request to avoid session mismatch... 2014-08-04 12:55:58 +02:00
Laurent Mignon (aka lmi) a70e13365d [FIX] properlyt return the Unauthorized() response to avoid warning in the log file 2014-08-04 12:20:26 +02:00
Laurent Mignon (aka lmi) 1675ae6fbf Code simplification: remove overkill method 2014-08-04 12:03:16 +02:00
Laurent Mignon (aka lmi) 8f9fcae4dc Addons configuration parameter is now a field part of the Authentication group from base_setup 2014-08-04 11:48:09 +02:00
Laurent Mignon 9b99c2dc57 [FIX] if the default login page is disabled, redirect with *401* 2014-07-30 11:05:07 +02:00
Laurent Mignon 2f51036928 [PEP8] line lenght is now ridiculous (80 chars) 2014-07-30 11:03:37 +02:00
Laurent Mignon c893a706b8 port auth_from_http_remote_user to 8.0 2014-07-30 10:23:52 +02:00