Add confirm=? quer-param to delete-user route [skip-tests]
Some checks failed
Build Docker and Deploy / Run Unit-Tests (push) Has been skipped
Build Docker and Deploy / Build Docker Container (push) Failing after 41s
Build Docker and Deploy / Deploy to Server (push) Has been skipped

This commit is contained in:
2025-05-04 04:57:27 +02:00
parent 9db49a4164
commit 7bbe321d3c
3 changed files with 13 additions and 2 deletions

View File

@@ -528,6 +528,8 @@ class _AccountRootPageState extends State<AccountRootPage> {
if (!acc.isAuth()) return;
try {
TODO ASK BEFORE DELETING TEH FUCKING USER !!!!!!!
await APIClient.deleteUser(acc, acc.userID!);
Toaster.info('Logout', 'Successfully logged out');