Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6748 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 24
26736
1
thg 3 17
17896
1
thg 3 15
4788
1
thg 3 15
5787
4
thg 11 24
2877