Improving pages title

This commit is contained in:
2024-05-17 20:15:32 +07:00
parent 7c24598cb1
commit fe6c3f7870
13 changed files with 28 additions and 28 deletions

View File

@ -52,7 +52,7 @@ func GET(w http.ResponseWriter, r *http.Request) {
Message: message,
})
} else {
component = signinView.Main("Sign in Page", types.Message{
component = signinView.Main("Filekeeper - Sign in Page", types.Message{
Code: 3,
Message: "",
})
@ -77,7 +77,7 @@ func POST(w http.ResponseWriter, r *http.Request) {
password := r.Form.Get("password")
userData, err := cache.GetUser(email)
if err != nil {
component := signinView.Main("Sign in Page", types.Message{
component := signinView.Main("Filekeeper - Sign in Page", types.Message{
Code: 0,
Message: "Incorrect Username or Password",
})
@ -128,7 +128,7 @@ func POST(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, cookie.Value, http.StatusSeeOther)
return
}
component := signinView.Main("Sign in Page", types.Message{
component := signinView.Main("Filekeeper - Sign in Page", types.Message{
Code: 0,
Message: "Incorrect Username or Password",
})