Skip to content
Snippets Groups Projects
Unverified Commit 1176d848 authored by Helmo's avatar Helmo
Browse files

Better csrf_token name

parent febd6ab1
No related branches found
No related tags found
1 merge request!1575Resolve "Two-factor authentication"
......@@ -190,7 +190,7 @@ $app->tpl->setInclude('content_tpl', 'templates/otp.htm');
//* SET csrf token
$csrf_token = $app->auth->csrf_token_get('language_edit');
$csrf_token = $app->auth->csrf_token_get('otp');
$app->tpl->setVar('_csrf_id',$csrf_token['csrf_id']);
$app->tpl->setVar('_csrf_key',$csrf_token['csrf_key']);
#$app->tpl->setVar('msg', print_r($_SESSION['otp'], 1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment