An example application using CakeDC/Users, with social login, two-factor authentication, reCaptcha and Rbac rules configured.
- Clone the repository
git clone git@github.com:CakeDC/users-example.git
cd users-example
- Install with composer
composer install --prefer-dist
-
Setup your database info at config/app.php, see Datasources.default
-
At config/.env, set your facebook/twitter credentials for social login and reCaptcha credentials.
-
Execute setup script, this run the needed migrations and create demo users and articles.
./setup.sh ApasswordForAllDemoUsersToUseAtLoginPage
Now you can access the app with one of the following users using the password you choosed:
- user1
- user2
- admin1
- admin2