implemented removal of user

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-08-10 20:44:55 +02:00
parent 62c85410a9
commit cc131d45e0
7 changed files with 70 additions and 17 deletions

View File

@@ -76,7 +76,9 @@ public class FileStore implements AuthorizationService, ClientService, SessionSe
@Override
public UserService delete(User user) {
return null;
var users = json.getJSONObject(USERS);
users.remove(user.uuid());
return save();
}
@Override