Conversation
composer.lockClick to show 126 changes in this composer.lock filePackage changes
Dev Package changes
Settings · Docs · Powered by Private Packagist |
| $publicKeyCredentialSource->getCounter() | ||
| ); | ||
| } | ||
| parent::saveCredentialSource($publicKeyCredentialSource); |
There was a problem hiding this comment.
shouldn't this forward the $flush parameter ? Otherwise, it is useless
There was a problem hiding this comment.
Ah, the parent does not have this argument at all. So why adding it in the child class without using it ?
|
The composer.lock diff comment has been updated to reflect new changes in this PR. |
|
Hi @stof, Many thanks for the first comments. |
|
Hello, I have two questions
Is there anything I missed (env var or something else)?
#[ORM\Column(type: 'string', name: 'user_handle', length: 200, nullable: true, unique: true)]
private ?string $userHandle = null;Many thanks. |
94noni
left a comment
There was a problem hiding this comment.
some reviews passing by :)
| KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true], | ||
| Scheb\TwoFactorBundle\SchebTwoFactorBundle::class => ['all' => true], | ||
| SpomkyLabs\CborBundle\SpomkyLabsCborBundle::class => ['all' => true], | ||
| Webauthn\Bundle\WebauthnBundle::class => ['all' => true], |
There was a problem hiding this comment.
i see that you need on twig files templates/user/login.html.twig & templates/user/manage_authenticators.html.twig some javascript, than seems to be kind of generic no?
maybe the bundle can provide them?
a raw js file (or perhaps a stimulus controller)
| "bootstrap": "^3.4.1", | ||
| "d3": "^3.5.17", | ||
| "instantsearch.js": "^2.7.4", | ||
| "instantsearch.js": "^4.56.0", |
There was a problem hiding this comment.
is this required with your PR?
| public function manage(): Response | ||
| { | ||
| $user = $this->getUser(); | ||
| !$user instanceof User || $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY'); |
There was a problem hiding this comment.
what about #[CurrentUser] User $user in the manage() ?
This PR aims at adding Webauthn login.
Webauthn is a web standard that allows the use of strong public key-based credentials for user authentication.
It is proposed in reaction of the recent issue where authentication failure is a key point for such attacks.