mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 22:57:27 +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
|
#### Display name
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$email = $auth->getUsername();
|
$username = $auth->getUsername();
|
||||||
```
|
```
|
||||||
|
|
||||||
Remember that usernames are optional and there is only a username if you supplied it during registration.
|
Remember that usernames are optional and there is only a username if you supplied it during registration.
|
||||||
|
Reference in New Issue
Block a user