Last active
October 21, 2019 11:56
-
-
Save pradeep3/44df8690b0613b209aa3336ac81347a6 to your computer and use it in GitHub Desktop.
Password route only for access tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function boot() { | |
Passport::routes(function ($router){ | |
$router->forAccessTokens(); | |
}); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment