تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6722 أدوات العرض

It is best practice to change important passwords periodically (e.g. every 3 month). How can I enforce a password change on the web interface?

Is there a module with this functionality?

If not, where would I have to start when I want to develop such a module?

الصورة الرمزية
إهمال
أفضل إجابة

Try to create a job from Setting/Scheduler/Scheduled Actions.

Go then to Technial data page: In the Object field put the model res.users

In the Method field use the action_reset_password method implemented in auth_signup
module.

In the Arguments field put the users id [2,3,4 ...]

الصورة الرمزية
إهمال

How to get Arguments for all user ? something like [not 1]

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 24
26726
1
مارس 17
17882
1
مارس 15
4780
1
مارس 15
5785
4
نوفمبر 24
2850