Implement email verification #26
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ export const useAuth = () => {
|
||||||
async function clearAuth() {
|
async function clearAuth() {
|
||||||
accessToken.value = null;
|
accessToken.value = null;
|
||||||
user.value = null;
|
user.value = null;
|
||||||
|
await navigateTo("/login");
|
||||||
}
|
}
|
||||||
|
|
||||||
async function register(username: string, email: string, password: string) {
|
async function register(username: string, email: string, password: string) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue