1
0
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:
Pierre HUBERT 2021-01-22 18:24:02 +01:00
parent 472f44b5a5
commit 7d16410ab2

View File

@ -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(())
}