/** * Perform the POST action for changing account credentials for a given group. * Permissions::PROJECT_ADMIN on the specified group is required to perform this action. */ public function updateAccountCredentials($groupName) { $cfUser = Input::get('cfUsername'); $cfPass = Input::get('cfPassword'); $newValues = [ProjectHandler::CF_USER => $cfUser, ProjectHandler::CF_PASS => $cfPass]; ProjectHandler::changeCredentials($groupName, $newValues); return Redirect::back()->with('flashSuccess', 'Invitation code successfully updated.'); }