Spend login, invite, and email-change links only after a confirm POST so mail scanners cannot use them up.
GET still shows a one-button page, a used invitation can resend or reopen for the signed-in invitee, and an email-change GET no longer signs the account out.
This commit is contained in:
1 parent
600056499c
commit
a725cf1a32
33 files changed
+1002
-89
No files matched your search
@@ -11,7 +11,9 @@ export function isChromelessNavigationPath(
|
||||
if (
|
||||
pathname.startsWith("/create") ||
|
||||
pathname === "/login" ||
|
||||
pathname.startsWith("/invite")
|
||||
pathname.startsWith("/login/") ||
|
||||
pathname.startsWith("/invite") ||
|
||||
pathname.startsWith("/email-change")
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user