diff --git a/model/res_users.py b/model/res_users.py index ba434b7d32497de74f0dcdc5a7b9706f615d12a1_bW9kZWwvcmVzX3VzZXJzLnB5..aed15c7e0451fcac62e7042c6d2a66e8244ac496_bW9kZWwvcmVzX3VzZXJzLnB5 100644 --- 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