Mercurial > prosody-hg
annotate plugins/mod_unknown.lua @ 14169:58ca617f68d5 13.0
mod_register_ibr: Use set_password() instead of create_user() for resets
Looks like a copy/paste failure? We used to use create_user(), and it still
"works", but we will probably tighten that up soon. set_password() is the way
to change the password of an existing account.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 25 May 2026 11:37:47 +0100 |
| parents | 28a90f5fea46 |
| children |
| rev | line source |
|---|---|
|
6003
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 -- Unknown platform stub |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:set_global(); |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 -- TODO Do things that make sense if we don't know about the platform |
