From 09a34dda989df0f74bbfcd11ac63254d61b92a18 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Sun, 15 Jan 2023 02:16:35 +0100 Subject: Add images support (inf scroll via htmx of images taken from user docs) This commit also includes a migration from css to scss, some improvements to the redirection workflow when no session is found and refactors concerning flash cookies. --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db.go') diff --git a/db.go b/db.go index fb17b14..8eedd7e 100644 --- a/db.go +++ b/db.go @@ -52,7 +52,7 @@ func GetUser(db *sql.DB, user User) (User, error) { } defer rows.Close() if !rows.Next() { - return user, errors.New("No user found for given username") + return user, errors.New("No user found for the given username") } var id int var u, email, pass string -- cgit v1.2.3