本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
writefreely
/
writefreely
镜像来自
https://github.com/writefreely/writefreely.git
關注
2
收藏
0
複製
0
程式碼
問題
版本發佈
25
Wiki
活動
瀏覽代碼
Send new user to pad with SimpleNav
Previously, they would've been dropped onto the Blogs page. Ref T680
simplified-nav
Matt Baer
4 年之前
父節點
90ad50c7f5
當前提交
d944d461e5
共有
1 個檔案被更改
,包括
3 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
unregisteredusers.go
+ 3
- 0
unregisteredusers.go
查看文件
@@ -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…
取消
儲存