From 5c92d026c954356560bd05dce00ce0641942dfe2 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 30 Jul 2017 16:37:34 +0200 Subject: [PATCH] Pass 'Auth' instance to 'showAuthenticatedUserForm' in 'tests' --- tests/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '
';