-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Is your enhancement related to a problem? Please describe.
I'm working on an enhancement plugin for Two Factor that adds cookies to bypass 2FA for saved devices. I need to add a checkbox to the authentication form like so:
I'm currently having to do this via JavaScript, because there are no hooks to customize the form in the various authentication_page functions to allow for form customization.
Proposed Solution
A hook added to the authentication_page functions that allows for form fields to be added would solve this problem. Ideally, it would be a single hook that allows for the addition of fields to all of the authentication forms in one go, but would include an argument in the function to conditionally add fields to specific forms if needed (e.g. only adding a field to totp authentication).
Designs
No response
Describe alternatives you've considered
No response
Please confirm that you have searched existing issues in this repository.
Yes