mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue