| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Arcanesoft\Auth\Http\Routes\Front; |
||
| 23 | 9 | public function map(Registrar $router) |
|
| 24 | { |
||
| 25 | 9 | parent::map($router); |
|
| 26 | |||
| 27 | 9 | $this->get('login', [ |
|
| 28 | 9 | 'as' => 'login.get', |
|
| 29 | 'uses' => 'AuthController@getLogin' |
||
| 30 | 9 | ]); |
|
| 31 | |||
| 32 | 9 | $this->post('login', [ |
|
| 33 | 9 | 'as' => 'login.post', |
|
| 34 | 'uses' => 'AuthController@postLogin' |
||
| 35 | 9 | ]); |
|
| 36 | |||
| 37 | 9 | $this->get('logout', [ |
|
| 38 | 9 | 'as' => 'logout', |
|
| 39 | 9 | 'uses' => 'AuthController@getLogout', |
|
| 40 | 9 | ]); |
|
| 41 | 9 | } |
|
| 42 | } |
||
| 43 |