File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed
plugins/system/webauthn/src/Extension Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change 4545 */
4646final class Webauthn extends CMSPlugin implements SubscriberInterface
4747{
48+ // Add WebAuthn buttons
49+ use AdditionalLoginButtons;
50+
51+ // AJAX request handlers
52+ use AjaxHandler;
53+ use AjaxHandlerInitCreate;
54+ use AjaxHandlerCreate;
55+ use AjaxHandlerSaveLabel;
56+ use AjaxHandlerDelete;
57+ use AjaxHandlerChallenge;
58+ use AjaxHandlerLogin;
59+
60+ // Utility methods for setting the events' return values
61+ use EventReturnAware;
4862 use CoreEventAware;
4963
64+ // Custom user profile fields
65+ use UserProfileFields;
66+
67+ // Handle user profile deletion
68+ use UserDeletion;
69+
5070 /**
5171 * Autoload the language files
5272 *
@@ -73,27 +93,6 @@ final class Webauthn extends CMSPlugin implements SubscriberInterface
7393 */
7494 protected $ authenticationHelper ;
7595
76- // AJAX request handlers
77- use AjaxHandler;
78- use AjaxHandlerInitCreate;
79- use AjaxHandlerCreate;
80- use AjaxHandlerSaveLabel;
81- use AjaxHandlerDelete;
82- use AjaxHandlerChallenge;
83- use AjaxHandlerLogin;
84-
85- // Custom user profile fields
86- use UserProfileFields;
87-
88- // Handle user profile deletion
89- use UserDeletion;
90-
91- // Add WebAuthn buttons
92- use AdditionalLoginButtons;
93-
94- // Utility methods for setting the events' return values
95- use EventReturnAware;
96-
9796 /**
9897 * Constructor. Loads the language files as well.
9998 *
You can’t perform that action at this time.
0 commit comments