Closed ssi-anik closed 2 years ago
BOOM! Your first PR with us, thank you so much! Someone will take a look at it shortly.
Please keep in mind that:
Thank you!
-- Justin Case The Backpack Robot
Hi @ssi-anik ,
Thanks for the PR, really appreciate the time you put in. But I think this is outside the scope of this package. If we account for people with SSO, another person will come tomorrow, asking that we should account for people using username & password. And this package isn't really meant to cover all use cases, just the most common one, which... it already does, I think 👀
So for people who need customization, I heavily recommend:
Thank you for understanding. Cheers!
WHY
Can disable password-related entries if the model doesn't have the
password
field. Scenario: Users can log in using the organization's SSO.BEFORE - What was wrong? What was happening before this PR?
It was assumed that the model always has the password field.
AFTER - What is happening after this PR?
Developers can decide if they want to show or disable password-related inputs,
true
by default.HOW
How did you achieve that, in technical terms?
??
Is it a breaking change or non-breaking change?
No
How can we test the before & after?
:shrug: I just tested using my own fork!