diff options
author | Michael Hunteman <michael@huntm.net> | 2024-09-27 13:51:39 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-09-27 13:51:39 -0700 |
commit | 99b5a49b5fcccb7c6523a95c67e39830bc2a2a45 (patch) | |
tree | 6f0fd381400319615bd5a9a528e648f462a3e3f3 /server/admin/store.go | |
parent | 8d6a2803bb51a028f56044a8d5eec7ae995af5a8 (diff) |
Change admin error message
Diffstat (limited to 'server/admin/store.go')
-rw-r--r-- | server/admin/store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/admin/store.go b/server/admin/store.go index c466b95..f36b342 100644 --- a/server/admin/store.go +++ b/server/admin/store.go @@ -30,7 +30,7 @@ func (store Store) Find(requestAdmin Admin) (Admin, error) { if found { return admin, nil } - return Admin{}, errors.New("Admin not found") + return Admin{}, errors.New("invalid username or password") } func createAdmin(requestAdmin Admin, adminRows pgx.Rows) (Admin, bool) { |