Skip to content

Instantly share code, notes, and snippets.

@pradeep3
Last active October 21, 2019 11:56
Show Gist options
  • Save pradeep3/44df8690b0613b209aa3336ac81347a6 to your computer and use it in GitHub Desktop.
Save pradeep3/44df8690b0613b209aa3336ac81347a6 to your computer and use it in GitHub Desktop.
Password route only for access tokens
<?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