There was an error while loading. Please reload this page.
1 parent 4665ee3 commit 6cd07aaCopy full SHA for 6cd07aa
server/git-shell-commands/user-create
@@ -28,7 +28,7 @@ fi
28
29
# TODO(leon): Do we want to validate ssh-key type (e.g. rsa / ed25519 / ..)?
30
case "$PUBLIC_KEY" in
31
-*'ssh-'**)
+'ssh-'*)
32
;;
33
*)
34
echo "Not a valid public key! SSH public keys must start with 'ssh-'"
0 commit comments