Welcome Guest, Not a member yet? Register   Sign In
Ion Auth reset password _get_csrf_nonce()
#1

Hi ,
I am using Ion Auth , with  CodeIgniter-3.1.8
For the forgot password feature, the user types in their email address, next they receive an email with a link to reset the password.
A page opens with them to type in the new password and confirmation password and when i click submit i get this:
Code:
An uncaught Exception was encountered

Type: Error

Message: Call to undefined method User::_get_csrf_nonce()

Filename: /srv/http/domain4.com/application/controllers/User.php

Line Number: 150

Backtrace:

File: /srv/http/domain4.com/index.php
Line: 315
Function: require_once

My config file
Code:
$config['csrf_protection'] = TRUE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array();


Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = sys_get_temp_dir();
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;"
But i don't understand why i get this error
someone can help me ?
Thank you in advance
Reply
#2

The error message is pretty explicit about what the error is and where it's coming from....
Reply




Theme © iAndrew 2016 - Forum software by © MyBB