django-two-factor-auth icon indicating copy to clipboard operation
django-two-factor-auth copied to clipboard

fix submitting Back button on pressing Enter

Open PetrDlouhy opened this issue 2 years ago • 0 comments

Description

If I press Enter on the two factor form, the Back button gets pressed. This fixes that.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Snímek obrazovky_2022-03-09_17-18-33

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

PetrDlouhy avatar Mar 09 '22 16:03 PetrDlouhy