mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
[next] Admin Authentication (#2155)
* feat: Support sign in via E-Mail, and social logins + permission check * feat: no permission info * test: unit test * test: fix remaining tests * test: add integration tests * feat: add admin account completion * test: auth completion feature tests * fix: translation * fix: comment marker design * fix: linting issues * chore: address pr review comments * chore: add comment
This commit is contained in:
@@ -26,7 +26,7 @@ export async function commit(
|
||||
await localStorage.removeItem("authToken");
|
||||
}
|
||||
// Clear current session, as we are starting a new one.
|
||||
clearSession();
|
||||
await clearSession();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user