flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 152f718e501c91165a631b7a3f25bd202e979b01
parent bb975758d244f96bb16d8b624bf3c498bf44e1b4
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  4 Dec 2021 16:34:29 -0800

oops

Diffstat:
Mdb.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/db.go b/db.go @@ -45,7 +45,7 @@ func checkLogin(name string, password string) (string, bool, error) { } } if db_password != nil && !active { - return username, isAdmin, fmt.Errorf("Your account is not active yet. Pending admin approval %v", c) + return username, isAdmin, fmt.Errorf("Your account is not active yet. Pending admin approval") } if bcrypt.CompareHashAndPassword(db_password, []byte(password)) == nil { return username, isAdmin, nil