Revision 3 can't exist yet, default to 0 for other lengths.
This commit is contained in:
parent
76c5c202b1
commit
bedc03b18f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def upgrade():
|
|||
elif password_hash_length == 64:
|
||||
user.password_revision = 2
|
||||
else:
|
||||
user.password_revision = 3
|
||||
user.password_revision = 0
|
||||
session.flush()
|
||||
session.commit()
|
||||
|
||||
|
|
Loading…
Reference in a new issue