Skip to content

Commit a99ea4f

Browse files
committed
trim should be done externally
1 parent 459e612 commit a99ea4f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

resources/lib/UnitySite.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public static function getGithubKeys($username)
5252

5353
public static function testValidSSHKey($key_str)
5454
{
55-
$key_str = trim($key_str);
56-
if ($key_str == "") {
57-
return false;
58-
}
5955
try {
6056
PublicKeyLoader::load($key_str);
6157
return true;

0 commit comments

Comments
 (0)