/users/admin-login should ignore disable_emails setting

It’s still possible to lock yourself out of the forum by checking the disable_emails setting and then misconfiguring SSO or disabling logins, since /users/admin-login doesn’t send emails either.

It would be handy if /users/admin-login would ignore the disable_emails setting :slight_smile:

7 Likes

Hmm that is a good idea @techapj can you make it so?

2 Likes

Done via:

https://github.com/discourse/discourse/commit/c5794ab0f6bcba8063b0fe772ea5ef3c5e43b6e7

5 Likes