Software / code / prosody
Annotate
plugins/muc/config_form_sections.lib.lua @ 12333:ed8a4f8dfd27
usermanager, mod_saslauth: Default to internal_hashed if no auth module specified
The default config was updated in this way long ago, but if no option was
present in the config, Prosody would load internal_plain.
This change can result in changes (for the better) for people using very old
configuration files lacking an 'authentication' setting.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 10 Feb 2022 19:54:14 +0000 |
| parent | 9036:bb4dcc555091 |
| rev | line source |
|---|---|
| 9036 | 1 module:hook("muc-config-form", function(event) |
| 2 table.insert(event.form, { | |
| 3 type = "fixed"; | |
| 4 value = "Room information"; | |
| 5 }); | |
| 6 end, 100); | |
| 7 | |
| 8 module:hook("muc-config-form", function(event) | |
| 9 table.insert(event.form, { | |
| 10 type = "fixed"; | |
| 11 value = "Access to the room"; | |
| 12 }); | |
| 13 end, 90); | |
| 14 | |
| 15 module:hook("muc-config-form", function(event) | |
| 16 table.insert(event.form, { | |
| 17 type = "fixed"; | |
| 18 value = "Permissions in the room"; | |
| 19 }); | |
| 20 end, 80); | |
| 21 | |
| 22 module:hook("muc-config-form", function(event) | |
| 23 table.insert(event.form, { | |
| 24 type = "fixed"; | |
| 25 value = "Other options"; | |
| 26 }); | |
| 27 end, 70); |