Issue 3015 - store timestamp when password is reset (#3863)

* Added few unsigned to ints in order to get rid of warnings.
Added column to users table, for when password is changed(issue#3015).
Moved password length check to separate method, to make it cleaner.
* Added migration file and changed schema version to 27 due to servatrice.sql schema modification.
* Make password length configurable.
This commit is contained in:
kopcion
2019-11-23 05:52:45 +01:00
committed by Zach H
parent e4c98e2ab8
commit cd431594e2
10 changed files with 30 additions and 8 deletions

View File

@@ -135,6 +135,10 @@ disallowedwords="admin"
; http://www.regular-expressions.info/catastrophic.html
disallowedregexp=""
; Define minimum password length
; Default 6.
minpasswordlength = 6
[registration]
; Servatrice can process registration requests to add new users on the fly.