for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Microboard\Http\Controllers\Auth;
use Microboard\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|
| This controller handles authenticating users for the application and
| redirecting them to your home screen. The controller uses a trait
| to conveniently provide its functionality to your applications.
*/
use AuthenticatesUsers;
/**
* Where to redirect users when the intended url fails.
protected function redirectTo()
return url(config('microboard.routes.prefix'));
}
* Create a new controller instance.
public function __construct()
$this->middleware('guest')->except('logout');
* Show the application's login form.
*
* @return \Illuminate\View\View
public function showLoginForm()
return view('microboard::auth.login');