diff options
| author | Xavier Morel <xmo@odoo.com> | 2019-05-08 12:24:31 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-05-13 12:08:53 +0000 |
| commit | 0e1a47114450b70d5cbc0b66c37d4d1dbf9f84d3 (patch) | |
| tree | 17076deed0c82e98bd4e21df4e63c52158f0afe7 /addons/mrp_subcontracting/tests | |
| parent | 079fcd6232e0c0338c353e6281dc5a930aa91e3a (diff) | |
[IMP] web: warn admin on login if their password is "admin"
* We want to limit the obtrusiveness of the mechanism & at the same
time show the warning immediately, so send the warning through a
private channel between the superuser and the admin user rather than
the regular mail.thread's message_post which would likely send the
warning though email.
* Ignore issue when the request comes from a "private" IP (likely a
local dev box where it doesn't matter).
* Only check for "admin" on the admin user: passwords created manually
are already length-checked (required) and strength-checked (visual
indicator).
Task 31122
Supersedes #22428
closes odoo/odoo#33254
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/mrp_subcontracting/tests')
0 files changed, 0 insertions, 0 deletions
