Pēteris Caune
e3aedd3b03
Add require_sudo_mode decorator
...
Planning to use it for sensitive operations (add/remove security keys),
change email, change password, close account.
The decorator sends a six-digit confirmation code to user's email
and renders a form for entering it back. If the user enters the
correct code, the decorators sets a sudo=active marker in
user's session, valid for 30 minutes.
2020-11-13 11:08:06 +02:00
..
2019-12-10 09:27:30 +02:00
2019-05-14 16:01:22 +03:00
2020-03-25 17:18:14 +02:00
2020-01-02 10:10:20 +02:00
2018-11-14 11:04:48 +02:00
2017-08-23 15:47:20 +03:00
2017-08-23 15:47:20 +03:00
2019-03-13 00:38:34 +02:00
2019-03-13 00:38:34 +02:00
2019-03-13 00:38:34 +02:00
2018-11-14 11:04:48 +02:00
2018-01-09 16:45:38 +02:00
2018-01-09 16:45:38 +02:00
2019-01-22 15:44:54 +02:00
2019-01-22 15:44:54 +02:00
2019-01-22 15:44:54 +02:00
2020-08-03 18:00:48 +03:00
2020-08-03 18:00:48 +03:00
2020-08-03 18:00:48 +03:00
2019-12-10 09:27:30 +02:00
2017-10-14 16:03:56 +03:00
2017-10-14 16:03:56 +03:00
2018-11-14 11:04:48 +02:00
2017-01-15 13:10:08 +02:00
2016-09-22 14:56:15 -07:00
2019-10-30 18:31:10 +02:00
2019-10-30 18:31:10 +02:00
2020-08-03 18:00:48 +03:00
2020-11-13 11:08:06 +02:00
2020-11-13 11:08:06 +02:00
2020-11-13 11:08:06 +02:00
2020-06-25 15:23:59 +03:00
2020-06-25 15:23:59 +03:00
2020-06-25 15:23:59 +03:00
2020-04-13 15:04:59 +03:00
2020-04-13 15:04:59 +03:00
2020-04-13 15:04:59 +03:00
2016-09-22 14:56:15 -07:00
2016-09-22 14:56:15 -07:00
2016-09-22 14:56:15 -07:00