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

User validation fails when returned value is false but not undef #13

Closed carragom closed 8 years ago

carragom commented 8 years ago

Hi, User validation fails when the value returned by the validate_user function is a defined but false value. This includes 0 and "0" which according to the docs should be valid UIDs.