Rails

rails devise

More than 1 year has passed since last update.

http://ruby-rails.hatenadiary.com/entry/20140801/1406907000

If you have more than one Devise model in your application (such as User and Admin), you will notice that Devise uses the same views for all models. Fortunately, Devise offers an easy way to customize views. All you need to do is set config.scoped_views = true inside the config/initializers/devise.rb file.

https://launchschool.com/blog/how-to-use-devise-in-rails-for-authentication