Skip to content

Commit 2fe7710

Browse files
Fix single-user signup redirect
1 parent 701e234 commit 2fe7710

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/api/accounts/user-accounts.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ function firstTimeSignupRedirect (accountManager) {
7272
// Only redirect browser (HTML) requests to first-time signup
7373
if (!req.accepts('text/html')) { return next() }
7474

75+
if (req.path.endsWith('signup.html')) { return next() }
76+
7577
accountManager.accountExists()
7678
.then(found => {
7779
if (!found) {

0 commit comments

Comments
 (0)