mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-02 10:09:51 -04:00
guide had invalid api
This commit is contained in:
parent
f6b850e7a4
commit
e4baea77be
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ and create an account by logging in normally, then run the commands:
|
|||
RAILS_ENV=production bundle exec rails c
|
||||
|
||||
# (in rails console)
|
||||
> me = User.find_by_username_or_email('myemailaddress@me.com')[0]
|
||||
> me = User.find_by_username_or_email('myemailaddress@me.com')
|
||||
> 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
|
||||
|
|
Loading…
Add table
Reference in a new issue