Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6727 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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 ...]

Avatar
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
1
apr 24
26732
1
mar 17
17886
1
mar 15
4781
1
mar 15
5785
4
nov 24
2857