readthedocs / ext-theme

Read the Docs drop in replacement site templates
2 stars 2 forks source link

2FA: implement templates #443

Closed stsewd closed 1 month ago

stsewd commented 2 months ago

Allauth provides some templates for 2FA, but they don't look great with the new theme, and some are very simple.

Some examples:

Screenshot 2024-08-08 at 11-12-26 Two-Factor Authentication - Read the Docs Screenshot 2024-08-08 at 11-11-51 Sign In - Read the Docs

The templates that we need to override are (the html files only):

The templates under webauthn we can ignore, since we aren't using that feature.

ref https://github.com/readthedocs/readthedocs.org/pull/11524

agjohnson commented 2 months ago

Those don't look horrible, actually. They will need a pass to clean up though.

The base template allauth uses is maybe a little off, maybe this is a byproduct of the allauth upgrade actually.