Initial Admin User

28 views
Skip to first unread message

yohanes marthin Hutabarat

unread,
Apr 22, 2016, 8:49:56 AM4/22/16
to mayocat-users
Hi,
I have successful install the mayocat.
But, I can't create the initial admin user trough the fixture.sh (API).
I can only access the login page for admin.

Is there any solution for this problem? Or Can I have an SQL Query to insert the initial data manually to the database?
Thanks.

Paul Dhaliwal

unread,
Jun 23, 2016, 5:14:13 PM6/23/16
to mayocat-users
You will need to send an API request to create the initial user. You can find it in the installation instructions. 

posting it below:
curl -i -H "Content-Type: application/json" -X POST -d " \
  {                                                      \
    \"slug\"   : \"admin\",                              \
    \"email\"    : \"paul@redblink\",                   \
    \"password\":\"thepassword\"                         \
  }                                                      \
  "                                                      \
Reply all
Reply to author
Forward
0 new messages