Rollback to 641200f3
This commit is contained in:
@@ -36,8 +36,6 @@ export function useAuth(options?: UseAuthOptions) {
|
||||
}
|
||||
throw error;
|
||||
} finally {
|
||||
// Supprimer le token de localStorage
|
||||
localStorage.removeItem('auth_token');
|
||||
utils.auth.me.setData(undefined, null);
|
||||
await utils.auth.me.invalidate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user