mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
don't write the csrf token field to the output buffer
but return and echo it
This commit is contained in:
@@ -40,7 +40,7 @@ function DisplayAuthConfig($username, $password)
|
||||
<div class="panel-body">
|
||||
<p><?php $status->showMessages(); ?></p>
|
||||
<form role="form" action="?page=auth_conf" method="POST">
|
||||
<?php CSRFToken() ?>
|
||||
<?php echo CSRFToken() ?>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="username"><?php echo _("Username"); ?></label>
|
||||
|
Reference in New Issue
Block a user