diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-05 21:31:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-05 21:31:30 +0900 |
| commit | 9b32f59a34e19a3709af4d4a8cf50b047f1021e2 (patch) | |
| tree | f580e3a34f8115fc53f19daa1c3f3d6ba03abc90 /services/app/src | |
| parent | a2f47eb106cd37d830272eeeb6ec5cc6cd417a14 (diff) | |
| download | phperkaigi-2024-albatross-9b32f59a34e19a3709af4d4a8cf50b047f1021e2.tar.gz phperkaigi-2024-albatross-9b32f59a34e19a3709af4d4a8cf50b047f1021e2.tar.zst phperkaigi-2024-albatross-9b32f59a34e19a3709af4d4a8cf50b047f1021e2.zip | |
do not show stdout/stderr to users
Diffstat (limited to 'services/app/src')
| -rw-r--r-- | services/app/src/App.php | 2 | ||||
| -rw-r--r-- | services/app/src/Forms/LoginForm.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php index 7b31e74..9d6cc70 100644 --- a/services/app/src/App.php +++ b/services/app/src/App.php @@ -892,8 +892,6 @@ final class App 'label' => $ex->status->label(), 'show_loading_indicator' => $ex->status->showLoadingIndicator(), ], - 'stdout' => $ex->stdout, - 'stderr' => $ex->stderr, ], $testcaseExecutions), ])->withStatus(200); } diff --git a/services/app/src/Forms/LoginForm.php b/services/app/src/Forms/LoginForm.php index 26f6ad1..4c69ad5 100644 --- a/services/app/src/Forms/LoginForm.php +++ b/services/app/src/Forms/LoginForm.php @@ -84,7 +84,7 @@ final class LoginForm extends FormBase try { $user_id = $this->userRepo->create( $username, - is_admin: true, // TODO + is_admin: false, ); } catch (EntityValidationException $e) { $this->state->setErrors($e->toFormErrors()); |
