summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorhorus_arch2015-03-29 20:52:16 +0200
committerhorus_arch2015-03-29 20:52:16 +0200
commit050315fd4253a962a5a2fa7fc69eb712bbf0ecdc (patch)
treee4e86aba3c27ab7749c6f97c9d1895024292eccc /server.go
parentde06b66b52c2e269bab93022f2fe46c7e02133f6 (diff)
downloadfreemail-050315fd4253a962a5a2fa7fc69eb712bbf0ecdc.tar.gz
Add modified mailgraph.cgi. Update style.css. Complete test suite, every function should be tested.
Diffstat (limited to 'server.go')
-rw-r--r--server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.go b/server.go
index 5b29e50..0ea1851 100644
--- a/server.go
+++ b/server.go
@@ -62,6 +62,7 @@ func ExecTemplate(template string, w http.ResponseWriter, r *http.Request, flash
func ChangePassword(email, oldPassword, newPassword string) error {
if !ValidateEmail(email) {
+ log.Println("No E-Mail: ", email)
return errors.New("This doesn't look like a mail adress.")
}