Skip to content

Commit 2e52486

Browse files
committed
fix bug
1 parent eeb8409 commit 2e52486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function testValidSSHKey(string $key): array
2626
if (substr_count($key, "\n") != 0) {
2727
return [false, "Key must not span multiple lines"];
2828
}
29-
$exploded = explode(" ", $key, 1);
29+
$exploded = explode(" ", $key, 2);
3030
if (count($exploded) == 1) {
3131
return [false, "Key must have at least 2 words"];
3232
}

0 commit comments

Comments
 (0)