[users] Document passwordRequirements and code
This commit is contained in:
parent
3a59574128
commit
ed15edabf9
@ -52,6 +52,12 @@ public:
|
|||||||
void setAutologinDefault( bool checked );
|
void setAutologinDefault( bool checked );
|
||||||
void setReusePasswordDefault( bool checked );
|
void setReusePasswordDefault( bool checked );
|
||||||
|
|
||||||
|
/** @brief Process entries in the passwordRequirements config entry
|
||||||
|
*
|
||||||
|
* Called once for each item in the config entry, which should
|
||||||
|
* be a key-value pair. What makes sense as a value depends on
|
||||||
|
* the key. Supported keys are documented in users.conf.
|
||||||
|
*/
|
||||||
void addPasswordCheck( const QString& key, const QVariant& value );
|
void addPasswordCheck( const QString& key, const QVariant& value );
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
@ -72,5 +72,5 @@ passwordRequirements:
|
|||||||
minLength: -1 # Password at least this many characters
|
minLength: -1 # Password at least this many characters
|
||||||
maxLength: -1 # Password at most this many characters
|
maxLength: -1 # Password at most this many characters
|
||||||
libpwquality:
|
libpwquality:
|
||||||
- minlen=8
|
- minlen=0
|
||||||
- minclass=2
|
- minclass=0
|
||||||
|
Loading…
Reference in New Issue
Block a user