Hi, I’ve just gotten started with devise and it’s pretty nifty. I just
wondered if people could point me in the right direction for finding
info about 3 things.
How come the login form does not report error messages when the
username/password is incorrect? I generated the views and replaced the
form. I don’t think I got rid of anything that would cause these
errors to disappear, but I obviously must have.
How can I get this error message back?
I have created custom methods for “inactive_message” and “active?”,
but the devise login form doesn’t appear to be using them. How can I
get devise to not log a user in when “active?” return false? The
documentation says it should… but it’s not working. What do I need
to enable to get this behaviour?
For the registration page, I’d like to customize what the initial
object is - it’s a different subclass of the class knows about. I
don’t want to generate new controllers for this subclass just to get a
different registration page. How can do that? I also want to add yet
another registration page for a different user role - again, not
creating the rest of the controllers (they are not needed).
If these 3 questions mean I starting to push the bounds of what Devise
was designed to do, then I guess I’d also like to know that as well.
If I have to swap it out for a custom authentication system, it’s good
to know that