Fix template reference bug.

このコミットが含まれているのは:
Christian Heller 2016-02-12 14:24:22 +01:00
コミット 25fe8c73a4
2個のファイルの変更3行の追加3行の削除

ファイルの表示

@ -82,8 +82,8 @@ The password reset mechanism by mail is inactive by default. To activate it, a
set of flags `--mailserver`, `--mailport`, `--mailuser` must be set to describe
a SMTP server and its login from which to send password reset mails to users'
mail addresses. (The site operator will be prompted for his SMTP login password
on program start.) Whether this mechanism is trustworthy or not is a decision up
to the site operator.
on program start.) Whether this mechanism is trustworthy or not is up to the
site operator.
### Change HTML templates

ファイルの表示

@ -238,7 +238,7 @@ func login(w http.ResponseWriter, r *http.Request) (string, error) {
} else {
replaceLineStartingWith(ipDelaysPath, ip, line)
}
execTemplate(w, "error_pw.html", "Bad login.")
execTemplate(w, "error_login.html", "Bad login.")
return name, errors.New("")
}
return name, nil