summaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorhorus_arch2015-03-21 14:22:13 +0100
committerhorus_arch2015-03-21 14:22:13 +0100
commita73dad2d4155699668ce14dc463913bb7892d3fc (patch)
tree0d4e2c54184141d33d82ca4c60a2a3f0f8608c6b /handler.go
parentfc0c1682b1753c5d02650d6a18671b67959065af (diff)
downloadfreemail-a73dad2d4155699668ce14dc463913bb7892d3fc.tar.gz
Skip dns validation if the MX record points to the correct server. Bugfix: Displays now flash message on success.
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 dd761e4..8fab6e8 100644
--- a/handler.go
+++ b/handler.go
@@ -101,7 +101,7 @@ func CreateNewEntryHandler(w http.ResponseWriter, r *http.Request) {
return
}
- session.AddFlash("Success! You can login now with your new mail account.")
+ session.AddFlash("Success! You can login now with your new mail account.", "success")
session.Save(r, w)
http.Redirect(w, r, "/", 302)
}