Created by Kaushal Kishore
Email : kaushal.rahuljaiswal@gmail.com
Website : http://www.kaushalkishore.com
- User Login Authentication
- Change Password
- Remember Me Functionality
- Reset Password
- Forgot Password
- Forgot Password Mail Functionality
- Clone the Users Module into your vendor folder
- Enabling it in your application.config.phpfile.
- Import the Users.sql file in your database, located in data folder of Users module
- Copy the users.local.php.dist in your config/autoload folder
- Rename it to users.local.php
- Modify the settings of users.local.php according to you
<?php return array( 'modules' => array( // ... 'Users', ), // ... );
- Login : /users
- Login : /users/index
- Logout : /users/logout
- Forgot Password : /users/forgot-password
- Reset Password : /users/reset-password
- Change Password : /users/change-password
CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(101) NOT NULL, `password` varchar(45) NOT NULL, `login_attempts` int(11) NOT NULL DEFAULT '0', `login_attempt_time` int(11) NOT NULL DEFAULT '0', `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `last_signed_in` datetime DEFAULT NULL, PRIMARY KEY (`id`) )INSERT INTO
users
(id
,password
,login_attempts
,login_attempt_time
,first_name
,last_name
,status
,last_signed_in
) VALUES (1, 'kaushal.rahuljaiswal@gmail.com', 'd4cb903787695a544172af6f0af88fef583a81c8', 0, 0, '', '', 'Active', NULL);
- Email : kaushal.rahuljaiswal@gmail.com
- Password : Kaushal@123