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

allow setting current_user via argument #17

Closed preaction closed 7 years ago

preaction commented 8 years ago

This allows us to have multiple authentication methods, but re-use the authorization / permission helpers that use the current_user helper to decide what to do.

Fixes #16

jjatria commented 7 years ago

Thank you!