Simplest way to authenticate user in hanami app
16 Mar 2016
If you need the simplest and easiest way to adding authentication logic in your hanami app (to admin app for example) you always can use
For this you need to add following lines of code to your
controller.prepare configuration block:
P.S.: also if you need something more complicated you can reed this thread on hanami forum.