mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Revert "Accept $token object, pass to renderTemplate()"
This reverts commit b3c6178274.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
function DisplayAuthConfig($username, $token)
|
||||
function DisplayAuthConfig($username)
|
||||
{
|
||||
$status = new \RaspAP\Messages\StatusMessage;
|
||||
$auth = new \RaspAP\Auth\HTTPAuth;
|
||||
@@ -42,8 +42,7 @@ function DisplayAuthConfig($username, $token)
|
||||
echo renderTemplate(
|
||||
"admin", compact(
|
||||
"status",
|
||||
"username",
|
||||
"token"
|
||||
"username"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user