adding a password reset system for admins#246
Conversation
|
Reviewed and tested locally on the merge ref. All 49 tests in the three modified test files pass, plus 43 tests in The auth changes are the most valuable part: A few non-blocking observations (take or leave): nit: nit: future consideration: The editbox protocol has no masked/password input mode, so the temporary password is likely echoed and spoken by the screen reader as the admin types it. Pre-existing limitation, not introduced here, but worth filing as an issue if we ever add a self-service password change flow — it'd be the same problem at a worse blast radius. future consideration: After a successful reset the admin lands back on the user list, which matches The double trust-level check (decorator + explicit LGTM. |
|
Re-tested the merge ref now that Scope concern. The PR title and description only cover admin password reset, but Test results. Server side (the password-reset feature) is clean — Desktop side has a real bug introduced by Line 48 checks absoluteness with CI. The Other notes on the mac commit (non-blocking).
Recommendation. Two clean paths:
Either way, the |
This reverts commit 05ad0f1.
|
Re-tested on the fresh merge ref (commit Revert is clean. Net diff vs Earlier review nits addressed in One test failure on the merge ref, but it's not caused by this PR — it's a collision with #226 (
@zarvox32 will land that one-liner as a follow-up — it's small enough that gating this PR on it isn't worth the round trip. Other tests on the merge ref:
Ready for merge from my side. |
since we don't have a mandatory email address entered, the only way of changing a password is for an admin to create a temp pass. i'm also thinking of making the user able to change his own password from the options menu.