mirror of
https://github.com/bringout/oca-server-auth.git
synced 2026-04-18 10:32:04 +02:00
15 lines
524 B
Python
15 lines
524 B
Python
# Copyright (C) 2010-2016, 2022 XCG Consulting <http://odoo.consulting>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
from .ir_config_parameter import ALLOW_SAML_UID_AND_PASSWORD
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
allow_saml_uid_and_internal_password = fields.Boolean(
|
|
"Allow SAML users to possess an Odoo password (warning: decreases security)",
|
|
config_parameter=ALLOW_SAML_UID_AND_PASSWORD,
|
|
)
|