mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-02 06:10:14 +02:00
Fix variable name in README
This commit is contained in:
@@ -537,7 +537,7 @@ If the user is not currently signed in, this returns `null`.
|
||||
#### Display name
|
||||
|
||||
```php
|
||||
$email = $auth->getUsername();
|
||||
$username = $auth->getUsername();
|
||||
```
|
||||
|
||||
Remember that usernames are optional and there is only a username if you supplied it during registration.
|
||||
|
Reference in New Issue
Block a user