[Web] fixed totp var in twig

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
Kristian Feldsam authored and andryyy committed 2021-10-21 09:06:13 +02:00
1 parent b682ec43ea
commit 974100400b
2 files changed
+4 -6

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ $globalVariables = [
'pagination_size' => $PAGINATION_SIZE,
'log_pagination_size' => $LOG_PAGINATION_SIZE,
'alerts' => $alerts,
'totp_secret' => $tfa->createSecret(),
];
foreach ($globalVariables as $globalVariableName => $globalVariableValue) {