Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1942 Представления

Hi All,

We're using Odoo Ent (v15) and having obstacle with "Password change" function. 

We configured users to authenticate using ldap (Windows Active Directory), now users found "Change password" in Odoo profile and they thought they can change it for also Windows Active Directory account's password. But it seems not working like that.

Could anyone advise us on this issue.

Аватар
Отменить

I have the same question. The "change password" button even allows users to bypass password policies. All I would need is the ability to easily disable this option so that this button is no longer displayed in the users profile page.

Лучший ответ

Hi,

When users click on the login button, the system first tries to authenticate users using the local Odoo database.
If this authentication is unsuccessful, only then the system the tries to authenticate using LDAP.


Odoo's "Change Password" and "Forgot Password" options only affect changing the password for Odoo, not for AD.

To disable "Forgot Password" option ,
 
Activate Developer Mode,

Go to Settings > General Settings and uncheck the "Password Reset" option.

Hope it helps,
Kiran K

Аватар
Отменить

Thanks for the explanations and pointing out this option. However, this only disables the password reset from the Login page (frontend), but not in "My Profile" of the internal users (backend), under the "Account Security" tab.

In "My Profile" , I made the "Change Password" button invisible.

<record id="inherited_res_users_preference_form" model="ir.ui.view">
<field name="name">inherited.res.users.preferences.form.disable.password</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='preference_change_password']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>

Related Posts Ответы Просмотры Активность
0
мая 25
1552
13
сент. 24
192773
2
июл. 24
12736
1
июн. 22
7927
0
янв. 21
2440