Skip to content

Commit 2087032

Browse files
Joosep JõelehtJoosep Jõeleht
Joosep Jõeleht
authored and
Joosep Jõeleht
committed
release(1.3.1) - Fixed WebAuthnCredentials request return type
1 parent 069bb7f commit 2087032

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "",
44
"type": "library",
55
"license": "EUPL-1.1",
6-
"version": "1.3.0",
6+
"version": "1.3.1",
77
"require": {
88
"php": "^7.4|^8.0|^8.1",
99
"ext-curl": "*",

src/Service/TwoFactorAuthenticationService.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Zone\Wildduck\Service;
44

5+
use Zone\Wildduck\Collection2;
56
use Zone\Wildduck\Exception\ApiConnectionException;
67
use Zone\Wildduck\Exception\AuthenticationFailedException;
78
use Zone\Wildduck\Exception\InvalidAccessTokenException;
@@ -105,7 +106,7 @@ public function validateTOTPToken(string $user, $params = null, $opts = null): W
105106
* @throws ApiConnectionException
106107
* @throws ValidationException
107108
*/
108-
public function webAuthNCredentials(string $user, $params = null, $opts = null): WildduckObject
109+
public function webAuthNCredentials(string $user, $params = null, $opts = null): Collection2
109110
{
110111
return $this->requestCollection('get', $this->buildPath('/users/%s/2fa/webauthn/credentials', $user), $params, $opts);
111112
}

0 commit comments

Comments
 (0)