userpage: add password reset direct link
for #363, adds /my/account/password/reset. Navigate to it to skip pressing the "forgot password?" button on the login screen. Works with the nice-ish onpopstate override thing I put in setup.ts a while ago. Maybe I should make it a module.
This commit is contained in:
@@ -525,7 +525,6 @@ const pageNames: string[][] = [];
|
||||
})();
|
||||
|
||||
window.onpopstate = (event: PopStateEvent) => {
|
||||
console.log("CALLLLLLLL", event);
|
||||
if (event.state === "welcome") {
|
||||
cards[0].classList.remove("unfocused");
|
||||
for (let i = 1; i < cards.length; i++) { cards[i].classList.add("unfocused"); }
|
||||
|
||||
Reference in New Issue
Block a user