WebAuthn icon indicating copy to clipboard operation
WebAuthn copied to clipboard

userHandle null issue

Open royjr opened this issue 1 year ago • 0 comments

base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated
$userHandle = base64_decode($post->userHandle);

to

 $userHandle = isset($post->userHandle) ? base64_decode($post->userHandle) : null;

fixed it for me when using a hardware key, not sure if we should isset check the rest as well

royjr avatar May 16 '24 03:05 royjr