mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 12:46:47 +00:00
Use DisabledPermittedAuthenticatedAccount at DELETE /v1/accounts/me
This commit is contained in:
1 parent
e23386ddc7
commit
ce689bdff3
1 file changed
+1
-1
+1
-1
@@ -874,7 +874,7 @@ public class AccountController {
|
||||
@Timed
|
||||
@DELETE
|
||||
@Path("/me")
|
||||
public void deleteAccount(@Auth AuthenticatedAccount auth) throws InterruptedException {
|
||||
public void deleteAccount(@Auth DisabledPermittedAuthenticatedAccount auth) throws InterruptedException {
|
||||
accounts.delete(auth.getAccount(), AccountsManager.DeletionReason.USER_REQUEST);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user