Send new user to pad with SimpleNav
Previously, they would've been dropped onto the Blogs page. Ref T680
This commit is contained in:
parent
deec914ccb
commit
cb28c95689
|
@ -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…
Reference in New Issue