mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-12-27 22:18:51 +00:00
Destroy all user login tokens when deleting his account
This commit is contained in:
parent
472f44b5a5
commit
7d16410ab2
@ -343,7 +343,8 @@ pub fn delete(user_id: &UserID) -> ResultBoxError {
|
||||
// Delete all custom user emojies
|
||||
custom_emojies_helper::delete_all_user(user_id)?;
|
||||
|
||||
// TODO : continue work here
|
||||
// Delete connections to all services
|
||||
destroy_all_user_tokens(user_id)?;
|
||||
|
||||
Ok(())
|
||||
}
|
Loading…
Reference in New Issue
Block a user