Skip to content

Add optional error message on authentication fail#24

Open
estebangarcia wants to merge 1 commit intososedoff:masterfrom
estebangarcia:custom-auth-error-msg
Open

Add optional error message on authentication fail#24
estebangarcia wants to merge 1 commit intososedoff:masterfrom
estebangarcia:custom-auth-error-msg

Conversation

@estebangarcia
Copy link

I wanted to return a message to the user when HTTP authentication failed very much like Heroku does (https://devcenter.heroku.com/articles/git#http-git-authentication).

I added a third value to the AuthFunc interface if not empty it gets written to the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant