implemented editing of list credentials for admin/owner, fixed bug:

if login fails due to wrong auth, it is no longer repeated. instead, the list is disabeld
This commit is contained in:
2022-04-22 18:20:03 +02:00
parent f234cded1b
commit 6abee6e977
15 changed files with 276 additions and 97 deletions

View File

@@ -406,6 +406,10 @@ public class ListMember {
}
}
public static void updateListEmail(String oldEmail, String newEmail) throws SQLException {
Database.open().update(TABLE_NAME).set(LIST_EMAIL,newEmail).where(LIST_EMAIL,oldEmail).compile().run();
}
public User user(){
return user;
}