feat: implement resetting of password if forgotten
This commit is contained in:
parent
42ed743054
commit
17791fc017
5 changed files with 115 additions and 2 deletions
|
@ -38,6 +38,7 @@ const form = reactive({
|
|||
|
||||
const query = useRoute().query as Record<string, string>;
|
||||
const searchParams = new URLSearchParams(query);
|
||||
searchParams.delete("token");
|
||||
|
||||
const registrationEnabled = ref<boolean>(true);
|
||||
const apiBase = useCookie("api_base");
|
||||
|
@ -50,7 +51,7 @@ if (apiBase.value) {
|
|||
}
|
||||
}
|
||||
|
||||
const registerUrl = `/register?${searchParams}`
|
||||
const registerUrl = `/register?${searchParams}`;
|
||||
|
||||
const { login } = useAuth();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue