-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the users wiki!
##Installing the plugin Users
-
Clone search plugins, utils and users in app/Plugin
-
Set up the database and load the schema plugin users
app/console/cake schema create --plugin Users
-
Load the plugins in bootstrap.php file and upload the users mainly plugin routes
CakePlugin::load( 'Search'); CakePlugin::load( 'Utils'); CakePlugin::load( 'Users' , array('routes' => true ));
-
Correctly configure email in app/Config
-
Enable admin prefix routing in core.php
Configure::write('Routing.prefixes', array('admin'));
-
Register a new user in /users/register and change it in admin in users table altering collumn is_admin to value 1 and collumn role to value of 'admin'
##FAQ
Example of how to configure Email to use Gmail:
public $gmail = array(
'host' => 'ssl://smtp.gmail.com'
'port' => 465,
'username' => 'my@gmail.com'
'password' => 'secret'
);
Make sure to enable "less secure apps" if you have trouble with gmail:
thats all!