Example #1
0
 /**
  * @param  $id
  * @param  UpdateUserPasswordRequest $request
  * @return mixed
  */
 public function updatePassword($id, UpdateUserPasswordRequest $request)
 {
     $this->users->updatePassword($id, $request->all());
     return redirect()->route('admin.access.users.index')->withFlashSuccess(trans('alerts.backend.users.updated_password'));
 }
 /**
  * @return \Illuminate\Http\RedirectResponse
  */
 public function logoutAs()
 {
     return $this->users->logoutAs();
 }