diff options
| author | Olivier Dony <odo@openerp.com> | 2017-05-16 17:09:17 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-05-16 17:09:45 +0200 |
| commit | 5afe894f440eff3b58134d14fa7c9b43b19fe88b (patch) | |
| tree | 2b89e105c3389187dc9f1707e88a0acdc531a1a1 /addons/auth_signup/controllers/main.py | |
| parent | 8dac9cfc93cb4196007bd08dd8b1304cd522e615 (diff) | |
| parent | 878fbc75ff9ebade92f43748500e64350367a824 (diff) | |
[MERGE] Forward-port saas-15 up to 878fbc75ff9ebade92f43748500e64350367a824
Diffstat (limited to 'addons/auth_signup/controllers/main.py')
| -rw-r--r-- | addons/auth_signup/controllers/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/auth_signup/controllers/main.py b/addons/auth_signup/controllers/main.py index 6c1b0facad3..dcaba89bc61 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -57,6 +57,9 @@ class AuthSignupHome(Home): else: login = qcontext.get('login') assert login, "No login provided." + _logger.info( + "Password reset attempt for <%s> by user <%s> from %s", + login, request.env.user.login, request.httprequest.remote_addr) request.env['res.users'].sudo().reset_password(login) qcontext['message'] = _("An email has been sent with credentials to reset your password") except SignupError: |
