|
@@ -18,4 +18,19 @@ class AuthController extends Controller {
|
|
|
|
|
|
use AuthenticatesAndRegistersUsers;
|
|
use AuthenticatesAndRegistersUsers;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Create a new authentication controller instance.
|
|
|
|
+ *
|
|
|
|
+ * @param \Illuminate\Contracts\Auth\Guard $auth
|
|
|
|
+ * @param \Illuminate\Contracts\Auth\Registrar $registrar
|
|
|
|
+ * @return void
|
|
|
|
+ */
|
|
|
|
+ public function __construct(Guard $auth, Registrar $registrar)
|
|
|
|
+ {
|
|
|
|
+ $this->auth = $auth;
|
|
|
|
+ $this->registrar = $registrar;
|
|
|
|
+
|
|
|
|
+ $this->middleware('guest', ['except' => 'getLogout']);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|