Skip to content

Commit

Permalink
0005753: Made reopening registration reset the failed login count
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Mar 20, 2023
1 parent 4f290fd commit ff25b3a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ public RegistrationServiceSqlMap(IDatabasePlatform platform,
putSql("registrationPendingSql", "update $(node_security) set registration_time = ? where node_id = ?");
putSql("reopenRegistrationSql", ""
+ "update $(node_security) set node_password = ?, registration_enabled = 1, "
+ "registration_time = null, registration_not_before = ?, registration_not_after = ? "
+ "registration_time = null, registration_not_before = ?, registration_not_after = ?, failed_logins = 0 "
+ "where node_id = ? and registration_enabled = 0 ");
putSql("openRegistrationNodeSecuritySql", ""
+ "insert into $(node_security) (node_id, node_password, registration_enabled, registration_not_before, "
Expand Down

0 comments on commit ff25b3a

Please sign in to comment.