Rails + Devise. Different authentication entry points

I’m building a web site. There will be users and admins. Users will have
their own authentication panel and admins must have absolutely different
authentication entry point and administrative panel. I know how to build
a Rails app with one authentication entry point, but how to make an
application with different authentication entry points e.g. /users/login
& /admin/login? Both panels are not connected with each other and have
absolutely different logic.

Thank you for your answers in advance.

Devise docs have a section on configuring multiple models:
GitHub - heartcombo/devise: Flexible authentication solution for Rails with Warden.. If
you
follow the instructions it should work.

On Wed, May 25, 2016 at 3:50 PM, John S. [email protected]
wrote:


.
For more options, visit https://groups.google.com/d/optout.


Greg Navis
I help tech companies to scale Heroku-hosted Rails apps.
Free, biweekly scalability newsletter for SaaS CEOs
http://www.gregnavis.com/newsletter/