diff options
| author | Olivier Dony <odo@openerp.com> | 2017-05-16 18:23:03 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-05-16 18:23:15 +0200 |
| commit | 5f4db9df6640100302ab7967344e12ab877089cb (patch) | |
| tree | 934f0ceb590fb72846c12cb046d96ff609554951 /addons/auth_signup/controllers | |
| parent | cbca7e13132fe807ac918d9b3c2fcbbb3a12a103 (diff) | |
| parent | 5afe894f440eff3b58134d14fa7c9b43b19fe88b (diff) | |
[MERGE] Forward-port saas-16 up to 5afe894f440eff3b58134d14fa7c9b43b19fe88b
Diffstat (limited to 'addons/auth_signup/controllers')
| -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 825a880b62c..533f84a8d82 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -58,6 +58,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: |
