Welcome Guest, Not a member yet? Register   Sign In
How to use SCRF to dashboard
#1

Hi everyOne,

how to display csrf token after i login to my dashboard. i want to have this link like below.

sample.com.au/admin/index.php?route=catalog/category&token=486bb077967d51db4676df5262eacf46&page=4&page=5



but here in mine, after i login, i get this link like this.
sample.com.au/admin/catalog
please anybody can help me.
Reply
#2

You can get the token name and value with the following methods

PHP Code:
$token_name get_csrf_token_name();
$token_value get_csrf_hash(); 

http://www.codeigniter.com/user_guide/li...token_name
Reply




Theme © iAndrew 2016 - Forum software by © MyBB