From 79bd9d8d45bb975c51a980123f26e5567f5d6b21 Mon Sep 17 00:00:00 2001 From: Cezar Date: Sun, 16 Jun 2013 19:41:27 -0300 Subject: [PATCH] Added a line to activate the user from the rails console I added a line to activate the user from the rails console, for the case when the mail server hasn't been configured yet and discourse can't send activation mails. --- docs/INSTALL-ubuntu.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/INSTALL-ubuntu.md b/docs/INSTALL-ubuntu.md index 72cbb240f1c..bfc39ee950f 100644 --- a/docs/INSTALL-ubuntu.md +++ b/docs/INSTALL-ubuntu.md @@ -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