jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.69k stars 95 forks source link

More set_error_reason support #163

Closed renchap closed 3 years ago

renchap commented 3 years ago

This is a follow up to #162

set_error_reason was not called on redirections It is now set everywhere set_redirect_error_status is called.

Documentation has been updated with the new reasons, I tried to reuse the existing ones where possible.

jeremyevans commented 3 years ago

Thanks for working on this! This looks good. I have a couple minor changes to the error reasons, and a few minor fixes, but as soon as testing finishes I'll merge that.