diff --git a/tests/index.php b/tests/index.php index 6c648c4..7529696 100644 --- a/tests/index.php +++ b/tests/index.php @@ -38,7 +38,7 @@ $result = processRequestData($auth); showDebugData($auth, $result); if ($auth->check()) { - showAuthenticatedUserForm(); + showAuthenticatedUserForm($auth); } else { showGuestUserForm(); @@ -507,7 +507,7 @@ function showGeneralForm() { echo ''; } -function showAuthenticatedUserForm() { +function showAuthenticatedUserForm(\Delight\Auth\Auth $auth) { showGeneralForm(); echo '