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

Rename two methods for logout to highlight the better default version

This commit is contained in:
Marco
2017-10-19 20:25:11 +02:00
parent ce8dbbc436
commit 71506eaa05
4 changed files with 15 additions and 13 deletions

View File

@@ -407,9 +407,9 @@ $url = 'https://www.example.com/verify_email?selector=' . \urlencode($selector)
### Logout
```php
$auth->logOutButKeepSession();
$auth->logOut();
// or
$auth->logout();
$auth->logOutAndDestroySession();
// user has been signed out
```