diff options
| author | Olivier Dony <odo@openerp.com> | 2017-05-16 12:12:30 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-05-16 12:12:30 +0200 |
| commit | 9b3ca1af23433e2871ac64ec967a931fd0336658 (patch) | |
| tree | eeaf167a9c5ec5edcd414b8ea4b5f21af4a744bc /addons/auth_signup/controllers | |
| parent | 3d63b50fe26cf565be52499ad88c5dd1a83d0f81 (diff) | |
| parent | 1545995b393a1d347c6c1988da03dd1c6f1ea037 (diff) | |
[MERGE] Forward-port 10.0 up to 1545995b393a1d347c6c1988da03dd1c6f1ea037
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 0ddca4cc626..0b2b3aab9a8 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: |
