This website works better with JavaScript.
Home
Explore
Help
Sign In
writefreely
/
writefreely
mirror of
https://github.com/writefreely/writefreely.git
Watch
2
Star
0
Fork
0
Code
Issues
Releases
25
Wiki
Activity
Browse Source
Send new user to pad with SimpleNav
Previously, they would've been dropped onto the Blogs page. Ref T680
simplified-nav
Matt Baer
4 years ago
parent
90ad50c7f5
commit
d944d461e5
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
unregisteredusers.go
+ 3
- 0
unregisteredusers.go
View 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
}
Write
Preview
Loading…
Cancel
Save