aboutsummaryrefslogtreecommitdiff
path: root/users.go
diff options
context:
space:
mode:
Diffstat (limited to 'users.go')
-rw-r--r--users.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/users.go b/users.go
index 5f5a4b2..f0dabce 100644
--- a/users.go
+++ b/users.go
@@ -9,6 +9,9 @@ import (
"github.com/jackc/pgx/v5"
)
+// addUserSSH adds a new user solely based on their SSH public key.
+//
+// TODO: Audit all users of this function.
func addUserSSH(ctx context.Context, pubkey string) (userID int, err error) {
var txn pgx.Tx