Skip to content

Commit 1176d84

Browse files
committed
Better csrf_token name
1 parent febd6ab commit 1176d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/otp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function finish_2fa_success($msg = '') {
190190

191191

192192
//* SET csrf token
193-
$csrf_token = $app->auth->csrf_token_get('language_edit');
193+
$csrf_token = $app->auth->csrf_token_get('otp');
194194
$app->tpl->setVar('_csrf_id',$csrf_token['csrf_id']);
195195
$app->tpl->setVar('_csrf_key',$csrf_token['csrf_key']);
196196
#$app->tpl->setVar('msg', print_r($_SESSION['otp'], 1));

0 commit comments

Comments
 (0)