Skip to content

Commit

Permalink
Small typos in authentication.md (#6489)
Browse files Browse the repository at this point in the history
* A couple missing definite articles and a missing conjunction.
  • Loading branch information
enderandpeter authored Oct 13, 2020
1 parent 7cad73a commit 39cf1a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ The `intended` method on the redirector will redirect the user to the URL they w

#### Specifying Additional Conditions

If you wish, you may also add extra conditions to the authentication query in addition to the user's e-mail and password. For example, we may verify that user is marked as "active":
If you wish, you may also add extra conditions to the authentication query in addition to the user's e-mail and password. For example, we may verify that the user is marked as "active":

if (Auth::attempt(['email' => $email, 'password' => $password, 'active' => 1])) {
// The user is active, not suspended, and exists.
Expand Down Expand Up @@ -456,7 +456,7 @@ As you might expect, the view that is returned by this route should have a form

#### Confirming The Password

Next, we will define a route will handle the form request from the "confirm password" view. This route will be responsible for validating the password and redirecting the user to their intended destination:
Next, we will define a route that will handle the form request from the "confirm password" view. This route will be responsible for validating the password and redirecting the user to their intended destination:

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
Expand Down Expand Up @@ -554,7 +554,7 @@ To get started, call the `Auth::viaRequest` method within the `boot` method of y
});
}

Once your custom authentication driver has been defined, you use it as a driver within `guards` configuration of your `auth.php` configuration file:
Once your custom authentication driver has been defined, you use it as a driver within the `guards` configuration of your `auth.php` configuration file:

'guards' => [
'api' => [
Expand Down

0 comments on commit 39cf1a0

Please sign in to comment.