Merge pull request #1036 from cezarcp/patch-1

Added a line to activate the user from the rails console
This commit is contained in:
Sam 2013-06-16 16:49:32 -07:00
commit cd7f038929

View file

@ -298,6 +298,7 @@ and create an account by logging in normally, then run the commands:
# (in rails console)
> me = User.find_by_username_or_email('myemailaddress@me.com')[0]
> me.activate #use this in case you haven't configured your mail server and therefore can't receive the activation mail.
> me.admin = true
> me.save