repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
3e5777a
parent
e42f99b
author
Eric Bower
date
2024-02-18 20:31:18 +0000 UTC
fix: new user error
2 files changed,  +2, -2
M pgs/cms.go
+1, -1
1@@ -171,7 +171,7 @@ func (m model) findUser() (*db.User, error) {
2 	var user *db.User
3 
4 	if m.sshUser == "new" {
5-		logger.Info("user requesting to register account", "user", user.Name)
6+		logger.Info("user requesting to register account")
7 		return nil, nil
8 	}
9 
M wish/cms/cms.go
+1, -1
1@@ -178,7 +178,7 @@ func (m model) findUser() (*db.User, error) {
2 	var user *db.User
3 
4 	if m.sshUser == "new" {
5-		logger.Info("user requesting to register account", "user", user.Name)
6+		logger.Info("user requesting to register account")
7 		return nil, nil
8 	}
9