benvanstaveren / Mojolicious-Plugin-Authentication

A plugin to make authentication a bit easier
http://search.cpan.org/dist/Mojolicious-Plugin-Authentication/
Other
20 stars 17 forks source link

Do not call validate_user when auto_validate is present. Fix #23 #24

Closed jjatria closed 7 years ago

jjatria commented 7 years ago

This merge request simplifies the code in authenticate so that the validate_user callback is never called when auto_validate is present in the extradata hash, as stated in the documentation.