Skip to content

Commit

Permalink
Merge branch '4.2-dev' into j4/user/factory
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Jun 28, 2022
2 parents dc04a3b + 2f45696 commit 453630b
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions plugins/system/webauthn/src/Extension/Webauthn.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,28 @@
*/
final class Webauthn extends CMSPlugin implements SubscriberInterface
{
// Add WebAuthn buttons
use AdditionalLoginButtons;

// AJAX request handlers
use AjaxHandler;
use AjaxHandlerInitCreate;
use AjaxHandlerCreate;
use AjaxHandlerSaveLabel;
use AjaxHandlerDelete;
use AjaxHandlerChallenge;
use AjaxHandlerLogin;

// Utility methods for setting the events' return values
use EventReturnAware;
use CoreEventAware;

// Custom user profile fields
use UserProfileFields;

// Handle user profile deletion
use UserDeletion;

/**
* Autoload the language files
*
Expand All @@ -73,27 +93,6 @@ final class Webauthn extends CMSPlugin implements SubscriberInterface
*/
protected $authenticationHelper;

// AJAX request handlers
use AjaxHandler;
use AjaxHandlerInitCreate;
use AjaxHandlerCreate;
use AjaxHandlerSaveLabel;
use AjaxHandlerDelete;
use AjaxHandlerChallenge;
use AjaxHandlerLogin;

// Custom user profile fields
use UserProfileFields;

// Handle user profile deletion
use UserDeletion;

// Add WebAuthn buttons
use AdditionalLoginButtons;

// Utility methods for setting the events' return values
use EventReturnAware;

/**
* Constructor. Loads the language files as well.
*
Expand Down

0 comments on commit 453630b

Please sign in to comment.