I
I
Igor Lobazov2016-10-24 16:38:29
Ruby on Rails
Igor Lobazov, 2016-10-24 16:38:29

How to make flexible registration with devise?

In general, a user (not logged in) creates a post, and when sent, he receives a confer on the mail. After confirmation, the post is published, and an email with a password is sent to the new user, this is how we would like.
In fact, after filling in all the fields (including the user's email), there is a redirect to devise/session/new.html. For some reason, it seems that the session would be more logical if it were opened after confirmation.
Tell me how session_controller should behave for such an implementation?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question