/** * Construct Account Controller to allow user to update own profile. * Only authenticated user should be able to access this controller. * * @param \Orchestra\Foundation\Processor\Account\ProfileUpdater $processor */ public function __construct(Processor $processor) { $this->processor = $processor; parent::__construct(); }
/** * Setup controller middleware. * * @return void */ protected function setupMiddleware() { parent::setupMiddleware(); $this->middleware('orchestra.reauth'); }