diff options
Diffstat (limited to 'users.go')
-rw-r--r-- | users.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |