summaryrefslogtreecommitdiff
path: root/server/admin/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/admin/handler.go')
-rw-r--r--server/admin/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/admin/handler.go b/server/admin/handler.go
index b05fc88..fa2dfb4 100644
--- a/server/admin/handler.go
+++ b/server/admin/handler.go
@@ -59,7 +59,7 @@ func (adminHandler *AdminHandler) logIn(request *http.Request) ([]byte, *appErro
}
_, err = adminHandler.adminStore.Find(requestAdmin)
if err != nil {
- return []byte{}, &appError{err, "{ \"message\": \"Admin not found\" }",
+ return []byte{}, &appError{err, "{ \"message\": \"Invalid username or password\" }",
http.StatusUnauthorized}
}
expirationTime := adminHandler.setExpirationTime()