Skip to content

Commit

Permalink
Minor README fix
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jasny committed Dec 28, 2016
1 parent ed2afaf commit 05b25f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ _If `$user->onLogin()` returns `false`, the user isn't set and the function retu

Logout

logout()
void logout()

Get current user

User user()
User|null user()


### Authorization
Expand Down Expand Up @@ -460,8 +460,8 @@ $url = "http://$host/reset.php?token=$confirmationToken";

mail(
$user->getEmail(),
"Welcome to our site",
"Please confirm your account by visiting $url"
"Password reset request",
"You may reset your password by visiting $url"
);
```

Expand Down

0 comments on commit 05b25f1

Please sign in to comment.