mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-09 17:46:33 +02:00
Improve language
This commit is contained in:
@@ -441,7 +441,7 @@ final class Auth extends UserManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logs out the user and destroys all session data
|
* Logs the user out and destroys all session data
|
||||||
*
|
*
|
||||||
* @throws AuthError if an internal problem occurred (do *not* catch)
|
* @throws AuthError if an internal problem occurred (do *not* catch)
|
||||||
*/
|
*/
|
||||||
|
@@ -661,7 +661,7 @@ function showAuthenticatedUserForm(\Delight\Auth\Auth $auth) {
|
|||||||
|
|
||||||
echo '<form action="" method="post" accept-charset="utf-8">';
|
echo '<form action="" method="post" accept-charset="utf-8">';
|
||||||
echo '<input type="hidden" name="action" value="logout" />';
|
echo '<input type="hidden" name="action" value="logout" />';
|
||||||
echo '<button type="submit">Logout</button>';
|
echo '<button type="submit">Log out</button>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user