cleanup and ensure forgot password functionality is working

This commit is contained in:
Nabeel Shahzad
2017-12-21 17:23:45 -06:00
parent 6c546b5094
commit 7fbe2f5e30
6 changed files with 22 additions and 71 deletions

View File

@@ -23,6 +23,14 @@ class RegisterController extends Controller
protected $userService;
public function __construct(
UserService $userService
) {
$this->userService = $userService;
$this->middleware('guest');
}
public function showRegistrationForm()
{
$airports = Airport::all();
@@ -33,19 +41,6 @@ class RegisterController extends Controller
]);
}
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct(
UserService $userService
)
{
$this->userService = $userService;
$this->middleware('guest');
}
/**
* Get a validator for an incoming registration request.
*