# HG changeset patch # User Florent Aide <florent.aide@gmail.com> # Date 1433426988 -7200 # Thu Jun 04 16:09:48 2015 +0200 # Branch odoo8 # Node ID aed15c7e0451fcac62e7042c6d2a66e8244ac496 # Parent ba434b7d32497de74f0dcdc5a7b9706f615d12a1 Fixed bad typo :) diff --git a/model/res_users.py b/model/res_users.py --- a/model/res_users.py +++ b/model/res_users.py @@ -227,7 +227,8 @@ # as opposed to other users... Doing so avoids being locked out # of your own instance in case there is an issue with your IDP if uid == SUPERUSER_ID: - return true + return True + setting_obj = self.pool['base.config.settings'] return setting_obj.allow_saml_uid_and_internal_password( cr, uid, context=context