Send new user to pad with SimpleNav

Previously, they would've been dropped onto the Blogs page.

Ref T680
customize-reader
Matt Baer 5 years ago
parent deec914ccb
commit cb28c95689
  1. 3
      unregisteredusers.go

@ -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
} }

Loading…
Cancel
Save