Forgot Password
Forgot password is not working. It shows the following error:
Unable to email the Reset Password link
Please help in resolving this issue.
loginreg
(short for login and registration).
Click Import tab and browse the file located under D:\xampp\htdocs\ci-ionauth-reg\application\sql. Choose the file named ion_auth.sql
if you’re using MySQL as your database.
Open config.php under D:\xampp\htdocs\ci-ionauth-reg\application\config folder. Change the following info into:
$config['base_url'] = 'http://localhost:8080/ci-ionauth-reg';
$config['index_page'] = '';
Open database.php under D:\xampp\htdocs\ci-ionauth-reg\application\config folder. Change the following info into:
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'loginreg',
Note: I just change some few lines of code of Auth.php under controllers folder like:
$this->_render_page('header_view', $this->data);
$this->_render_page('auth/login', $this->data);
$this->_render_page('footer_view', $this->data);
header_view and footer_view includes the code to include Bootstrap file.
To open the login form and registration form, visit the following URLs:
http://localhost/ci-ionauth-reg/auth/login
http://localhost/ci-ionauth-reg/auth/create_user
Username: [email protected]
Password: password
You can also change the registration URL from http://localhost/ci-ionauth-reg/auth/create_user
to http://localhost/ci-ionauth-reg/register
by setting the routes.
Example, open routes.php under config folder.
$route['register'] = 'auth/create_user';
You can add the line after
$route['default_controller'] = 'welcome';
If you have any question, don’t hesitate to as under the comments below.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.