Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Hide default Django auth when disabled #471

Open
mnelson4 opened this issue Mar 18, 2022 · 1 comment
Open

Hide default Django auth when disabled #471

mnelson4 opened this issue Mar 18, 2022 · 1 comment

Comments

@mnelson4
Copy link

If I remove 'django.contrib.auth.backends.ModelBackend' from AUTHENTICATION_BACKENDS in my settings file (because I consider Microsoft auth more secure than default passwords), I'd like the "Password" button to be hidden. See screenshot:
2022-March-18 13-28-40-935

Is there a reason not to do that? (If Microsoft auth stops working for some reason, I'll re-enable the default Django authentication)

@f1rsty
Copy link

f1rsty commented Sep 17, 2022

They overrode the admin login page, you can customize it by editing it in https://github.com/AngellusMortis/django_microsoft_auth/blob/master/microsoft_auth/templates/microsoft/admin_login.html or by overriding it again and customizing it to suit your needs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants