diff --git a/server/szurubooru/migrations/versions/9ef1a1643c2a_update_user_table_for_hardened_passwords.py b/server/szurubooru/migrations/versions/9ef1a1643c2a_update_user_table_for_hardened_passwords.py index ce3b2e95..33aa9c93 100644 --- a/server/szurubooru/migrations/versions/9ef1a1643c2a_update_user_table_for_hardened_passwords.py +++ b/server/szurubooru/migrations/versions/9ef1a1643c2a_update_user_table_for_hardened_passwords.py @@ -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()