annotate mod_smacks_noerror/README.md @ 6165:e977174082ee

mod_invites_register_api: Use set_password() for password resets Previously the code relied on the (weird) behaviour of create_user(), which would update the password for a user account if it already existed. This has several issues, and we plan to deprecate this behaviour of create_user(). The larger issue is that this route does not trigger the user-password-changed event, which can be a security problem. For example, it did not disconnect existing user sessions (this occurs in mod_c2s in response to the event). Switching to set_password() is the right thing to do
author Matthew Wild <mwild1@gmail.com>
date Thu, 06 Feb 2025 10:24:30 +0000
parents fe081789f7b5
children 4403f941fd74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2392
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
1 ---
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
2 labels:
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
3 - 'Stage-Alpha'
3937
e7dc25e54d02 mod_smacks_noerror: This module is superseded by mod_smacks and mod_nooffline_noerror
tmolitor <thilo@eightysoft.de>
parents: 3171
diff changeset
4 summary: Module deprecated, just use mod_smacks and mod_nooffline_noerror
2392
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
5 ...
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
6
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
7 Introduction
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
8 ============
d1e975c24545 mod_smacks_noerror: Initial commit
tmolitor <thilo@eightysoft.de>
parents:
diff changeset
9
3937
e7dc25e54d02 mod_smacks_noerror: This module is superseded by mod_smacks and mod_nooffline_noerror
tmolitor <thilo@eightysoft.de>
parents: 3171
diff changeset
10 This module is deprecated and superseded by mod_smacks.
e7dc25e54d02 mod_smacks_noerror: This module is superseded by mod_smacks and mod_nooffline_noerror
tmolitor <thilo@eightysoft.de>
parents: 3171
diff changeset
11 If you explicitly disabled mod_offline you need the new module
e7dc25e54d02 mod_smacks_noerror: This module is superseded by mod_smacks and mod_nooffline_noerror
tmolitor <thilo@eightysoft.de>
parents: 3171
diff changeset
12 mod_nooffline_noerror to regain all features of this deprecated module.