Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes old and tired code from the login pages where we throw `Http::response(422);` to "prevent browsers from suggesting saving the username and password". This is no longer the case as browsers no longer play by these rules. The only way to properly do this nowadays is to set an attribute on the form tag to disable autocomplete. We don't want to do this either as that would prevent password managers from autofilling the auth info. Throwing a 422 code prevents some setups from accepting logins due to 4XX codes being error codes in nature. Removing this code seemingly has no negative impact whatsoever. A short backstory, this was [originally a 401 code](a99b9ce) to prevent browsers from suggesting saving the auth info. Later it was [changed to a 422 code](772d5c5) to make IE play nice.
- Loading branch information