aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_plain.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_auth_internal_{hashed,plain}: Respect flag for disabled accounts in ↵Kim Alvefur2024-08-091-0/+3
| | | | | | | test_password() This API method is used e.g. in HTTP modules which also should respect disabled accounts.
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-4/+4
|
* mod_auth_internal_plain: Fix user creation done via mod_admin_shellVitaly Orekhov2023-03-211-1/+4
| | | | | | | | | Following the new behavior in auth_internal_hashed (c8f59ce7d3cf), the account will be created and disabled, instead of returning an error telling password being nil when calling saslprep(). Note that mod_auth_internal_plain does not have full support for enabled/disabled accounts, but that may be fixed in subsequent commits.
* usermanager, mod_auth_*: Add get_account_info() returning creation/update timeMatthew Wild2022-07-121-1/+15
| | | | | | | This is useful for a number of things. For example, listing users that need to rotate their passwords after some event. It also provides a safer way for code to determine that a user password has changed without needing to set a handler for the password change event (which is a more fragile approach).
* mod_auth_internal_{plain,hashed}: Use constant-time string comparison for ↵Matthew Wild2021-05-101-1/+2
| | | | secrets
* mod_auth_internal_*: Apply saslprep to passwordsKim Alvefur2020-05-231-1/+14
| | | | Related to #1560
* mod_auth_internal_plain: Rename unused self argument [luacheck]Kim Alvefur2017-04-041-1/+1
|
* mod_auth_internal_plain: Remove "initializing" log message, hostmanager logs ↵Kim Alvefur2013-08-101-1/+0
| | | | this too
* mod_auth_internal_plain: Log a debug message when changing password to be ↵Kim Alvefur2013-08-101-0/+1
| | | | consistent with the other methods
* mod_auth_internal_plain: Remove redundant hostname from log messagesKim Alvefur2013-08-101-3/+3
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|
* mod_auth_internal_plain: Don't log passwords, even at debug levelMatthew Wild2013-04-231-1/+1
|
* mod_auth_internal_hashed, mod_auth_internal_plain, mod_privacy, mod_private, ↵Kim Alvefur2013-04-191-9/+10
| | | | mod_register, mod_vcard, mod_muc: Use module:open_store()
* mod_auth_internal_plain, mod_auth_internal_hashed: No need to nodeprep here.Waqas Hussain2013-01-221-7/+1
|
* mod_auth_internal_{plain,hashed}: Add support for iterating over accountsKim Alvefur2012-09-211-0/+4
|
* mod_auth_*: Use module:provides().Waqas Hussain2012-09-121-2/+2
|
* mod_auth_{internal_plain,cyrus,anonymous}: Get rid of useless wrapper ↵Waqas Hussain2012-09-121-58/+56
| | | | function new_default_provider.
* mod_auth_internal_plain: Remove unused importsMatthew Wild2012-04-281-9/+1
|
* mod_auth_internal_{plain,hashed}: Clarify log messages on initializationMatthew Wild2012-03-111-1/+1
|
* mod_auth_*: Get rid of undocumented and broken 'sasl_realm' config option.Waqas Hussain2011-02-231-2/+1
|
* mod_auth_internal_*: Support for delete_user methodMatthew Wild2011-01-041-0/+4
|
* util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter ↵Waqas Hussain2010-12-271-1/+1
| | | | to SASL profile callbacks.
* mod_auth_internal_plain: Get rid of all checks for Cyrus SASL.Waqas Hussain2010-08-231-7/+0
|
* mod_auth_*: Fixed copyright headers.Waqas Hussain2010-08-021-1/+0
|
* mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and ↵Matthew Wild2010-07-081-0/+97
update usermanager to still use it as the default