Skip to content

Commit 30c5e89

Browse files
authored
Fix Base64UrlSafe decoding (#399)
* Fix Base64UrlSafe decoding * PHPStan baseline * @simplewebauthn/browser 7.0 * Exported files fixed * JS fixed
1 parent 64920a2 commit 30c5e89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AuthenticatorAssertionResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Webauthn;
66

7-
use ParagonIE\ConstantTime\Base64;
7+
use Webauthn\Util\Base64;
88

99
/**
1010
* @see https://www.w3.org/TR/webauthn/#authenticatorassertionresponse
@@ -36,6 +36,6 @@ public function getUserHandle(): ?string
3636
return $this->userHandle;
3737
}
3838

39-
return Base64::decode($this->userHandle, true);
39+
return Base64::decode($this->userHandle);
4040
}
4141
}

0 commit comments

Comments
 (0)