feat: separate password reset page into two, one for sending the email and one to change the password
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline failed

This commit is contained in:
SauceyRed 2025-07-16 11:36:12 +02:00
parent 17791fc017
commit db2a99736a
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462
4 changed files with 108 additions and 74 deletions

View file

@ -16,7 +16,7 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
}
}
if (["/login", "/register", "/reset-password"].includes(to.path) && !Object.keys(to.query).includes("special")) {
if (["/login", "/register", "/recover", "/reset-password"].includes(to.path) && !Object.keys(to.query).includes("special")) {
console.log("path is login or register");
const apiBase = useCookie("api_base");
console.log("apiBase gotten:", apiBase.value);