1
0
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:
Emin Mühəmmədi
2019-07-28 17:44:37 +02:00
committed by Marco
parent 54f6c5320a
commit 1757ad3fd1

View File

@@ -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.