minor textual adjustments; add non-session-based csrf-token for js/axios as it is configured to append it to the http-request

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-11-27 16:42:15 +01:00
parent 4f79d7cf4b
commit e1e7555cce
6 changed files with 9 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ namespace Froxlor\Install;
use Exception;
use Froxlor\Config\ConfigParser;
use Froxlor\Froxlor;
use Froxlor\Install\Install\Core;
use Froxlor\System\IPTools;
use Froxlor\UI\Panel\UI;
@@ -133,6 +134,7 @@ class Install
'section' => $this->formfield['install']['sections']['step' . $this->currentStep] ?? [],
'error' => $error ?? null,
'extended' => $this->extendedView,
'csrf_token' => Froxlor::genSessionId(20),
]);
// output view