Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Matt Baer
d944d461e5 Send new user to pad with SimpleNav
Previously, they would've been dropped onto the Blogs page.

Ref T680
2019-08-05 10:24:55 -04:00

View file

@ -47,6 +47,9 @@ func handleWebSignup(app *App, w http.ResponseWriter, r *http.Request) error {
ur.Normalize = true ur.Normalize = true
to := "/" to := "/"
if app.cfg.App.SimpleNav {
to = "/new"
}
if ur.InviteCode != "" { if ur.InviteCode != "" {
to = "/invite/" + ur.InviteCode to = "/invite/" + ur.InviteCode
} }