Mercurial > prosody-wiki
annotate mod_adhoc_account_management.wiki @ 431:0bf555b3a3fa
mod_block_registrations: block_registrations_matching, not _patterns
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Mar 2014 01:39:31 +0100 |
parents | 351915c27e2e |
children | 528721aaea46 |
rev | line source |
---|---|
385
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 #summary Personal account management command |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 #labels Stage-Alpha |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 = Introduction = |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 This module adds an ad-hoc command that lets an user change their |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 password. This is useful for clients that don't have support for |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 [http://xmpp.org/extensions/xep-0077.html XEP-0077] style password |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 changing. In the future, it may provide other account management |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 commands. |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 = Configuration = |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 {{{ |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 modules_enabled = { |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 -- other modules -- |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 "adhoc_account_management", |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 } |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 close_sessions_on_password_change = true |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 require_current_password = true |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 require_confirm_password = true |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 }}} |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 || *Option* || *Default* || *Description* || |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 || close_sessions_on_password_change || true || Changing password invalidates other sessions the user may have || |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
28 || require_current_password || true || Add a field for the current password || |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
29 || require_confirm_password || true || Add a field for confirming the current password || |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
30 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
31 = Todo = |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
32 |
351915c27e2e
added mod_adhoc_account_management.wiki
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
33 Suggestions welcome, |