summaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorHorus32015-03-23 11:41:59 +0100
committerHorus32015-03-23 11:41:59 +0100
commit1e10c62c6a8d2b7633de52f56bc8e9230b1b1383 (patch)
tree07b5e28da3a3fa256f57afb3e221204bda87cc43 /handler.go
parent05194f3a09b2382f269d31e6e2fa472a7b95e5c1 (diff)
downloadfreemail-1e10c62c6a8d2b7633de52f56bc8e9230b1b1383.tar.gz
Fixed typo and redirection.
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.go b/handler.go
index c08704c..4597ae3 100644
--- a/handler.go
+++ b/handler.go
@@ -103,7 +103,7 @@ func CreateNewEntryHandler(w http.ResponseWriter, r *http.Request) {
session.AddFlash("Success! You can login now with your new mail account.", "success")
session.Save(r, w)
- http.Redirect(w, r, "/register", 302)
+ http.Redirect(w, r, "/user", 302)
}
func AboutHandler(w http.ResponseWriter, r *http.Request) {