mirror of
https://github.com/writeas/writefreely
synced 2025-01-08 06:00:29 +01:00
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
|
||||
|
||||
to := "/"
|
||||
if app.cfg.App.SimpleNav {
|
||||
to = "/new"
|
||||
}
|
||||
if ur.InviteCode != "" {
|
||||
to = "/invite/" + ur.InviteCode
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user