Sfoglia il codice sorgente

Send new user to pad with SimpleNav

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

Ref T680
simplified-nav
Matt Baer 4 anni fa
parent
commit
d944d461e5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      unregisteredusers.go

+ 3
- 0
unregisteredusers.go Vedi File

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


Caricamento…
Annulla
Salva