You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Devise
Hello,
I have been looking far and wide across the internet but haven't been
able to find an answer for something that is probably quite simple.
I have overriden the registrations controller (now in users/
registration) because I want only authorized administrators to be able
to sign people up. No confirmation email are sent. As such, I don't
want to be automagically logged in as the new user each time I create
one.
Is there a simple way to override this behaviour?
many thanks (and thanks for such a fantastic gem)
Dorian
José Valim
unread,
Mar 4, 2011, 7:13:04 AM3/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
If you inherited this controller in your app, you just need to copy
the create action and change (remember to copy it from the same devise
version you are using). However, in general, I prefer to create a new
controller than changing registerable.