[users] Document passwordRequirements and code

This commit is contained in:
Adriaan de Groot 2018-05-23 03:30:51 -04:00
parent 3a59574128
commit ed15edabf9
2 changed files with 8 additions and 2 deletions

View file

@ -52,6 +52,12 @@ public:
void setAutologinDefault( 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 );
protected slots: