Reword the wrong site password message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06097d3bca
commit
aadacaff95
1 file changed
+1
-1
@@ -118,7 +118,7 @@ func (s *Server) handleUnlock(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
if !auth.CheckPassword(hash, password) {
|
if !auth.CheckPassword(hash, password) {
|
||||||
s.loginLimit.Fail("unlock:" + ip)
|
s.loginLimit.Fail("unlock:" + ip)
|
||||||
page.Error = "That's not the password."
|
page.Error = "Password incorrect."
|
||||||
s.render(w, r, http.StatusUnauthorized, "gate", "", page)
|
s.render(w, r, http.StatusUnauthorized, "gate", "", page)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user