Skip to content

Commit

Permalink
Merge branch '5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 6, 2016
2 parents 585755c + 55f6089 commit 3d5c8c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ When a user is successfully authenticated, they will be redirected to the `/` UR

When a user is not successfully authenticated, they will be redirected back to the login form location automatically.

To customize where a user is redirected after logging out of the application, you may define a `redirectAfterLogout` property on the `AuthController`:

protected $redirectAfterLogout = '/login';

If this property is not present, the user will be redirected to the `/` URI.

#### Guard Customization

You may also customize the "guard" that is used to authenticate users. To get started, define a `guard` property on your `AuthController`. The value of this property should correspond with one of the guards configured in your `auth.php` configuration file:
Expand Down

0 comments on commit 3d5c8c7

Please sign in to comment.