1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 14:17:26 +02:00

Move 'Refresh' button from bottom to top in 'tests'

This commit is contained in:
Marco
2017-10-19 00:36:08 +02:00
parent b2a3fde696
commit fc2fb4bb44

View File

@@ -35,6 +35,7 @@ $auth = new \Delight\Auth\Auth($db);
$result = \processRequestData($auth);
\showGeneralForm();
\showDebugData($auth, $result);
if ($auth->check()) {
@@ -634,8 +635,6 @@ function showGeneralForm() {
}
function showAuthenticatedUserForm(\Delight\Auth\Auth $auth) {
\showGeneralForm();
echo '<form action="" method="post" accept-charset="utf-8">';
echo '<input type="hidden" name="action" value="reconfirmPassword" />';
echo '<input type="text" name="password" placeholder="Password" /> ';
@@ -684,8 +683,6 @@ function showAuthenticatedUserForm(\Delight\Auth\Auth $auth) {
}
function showGuestUserForm() {
\showGeneralForm();
echo '<h1>Public</h1>';
echo '<form action="" method="post" accept-charset="utf-8">';