Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after update from 6.1.0 to 6.2.0 #65

Closed
rudy1976s opened this issue Dec 22, 2021 · 1 comment
Closed

Error after update from 6.1.0 to 6.2.0 #65

rudy1976s opened this issue Dec 22, 2021 · 1 comment

Comments

@rudy1976s
Copy link

I have just updated from 6.1.0 to 6.2.0 and I received this errors after login

Warning (2): class_implements(): object or string expected [ROOT/vendor/cakedc/auth/src/Authentication/Webauthn2fAuthenticationCheckerFactory.php, line 32]

I had to revert back to 6.1 to make my app work again

Thank you

Rudy

@rochamarcelo
Copy link
Contributor

rochamarcelo commented Dec 23, 2021

How did you update to 6.2.0 and are you using cakedc/users @rudy1976s ?

See the new keys added (https://github.com/CakeDC/users/releases/tag/9.3.0)

'Webauthn2fa' => [
        'enabled' => false,
        'appName' => null,//App must set a valid name here
        'id' => null,//default value is the current domain
        'checker' => \CakeDC\Auth\Authentication\DefaultWebauthn2fAuthenticationChecker::class,
        'startAction' => [
            'plugin' => 'CakeDC/Users',
            'controller' => 'Users',
            'action' => 'webauthn2fa',
            'prefix' => false,
        ]
    ]

@steinkel steinkel closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants