Skip to content

Commit

Permalink
Remove auth router.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 31, 2020
1 parent 8278b4e commit 0466751
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,6 @@

class Router extends BaseRouter
{
/**
* Register the typical authentication routes for an application.
*
* @return void
*/
public function auth(array $options = [])
{
// Authentication Routes...
$this->get('login', 'Auth\AuthenticateController@show');
$this->post('login', 'Auth\AuthenticateController@attempt');
$this->get('logout', 'Auth\DeauthenticateController@logout');

$this->get('register', 'Auth\RegisterController@show');
$this->post('register', 'Auth\RegisterController@store');
}

/**
* Register the typical password reset routes for an application.
*
* @return void
*/
public function password()
{
// Password Reset Routes...
$this->get('password/reset/{token?}', 'Auth\PasswordController@showResetForm');
$this->post('password/reset', 'Auth\PasswordController@reset');
$this->get('password/email', 'Auth\PasswordController@showLinkRequestForm');
$this->post('password/email', 'Auth\PasswordController@sendResetLinkEmail');
}

/**
* Route a resource to a controller.
*
Expand Down

0 comments on commit 0466751

Please sign in to comment.