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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user