diff --git a/.github/workflows/backend-test-and-build.yml b/.github/workflows/backend-test-and-build.yml index a0ad56e6..85130e57 100644 --- a/.github/workflows/backend-test-and-build.yml +++ b/.github/workflows/backend-test-and-build.yml @@ -26,7 +26,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub + - name: Log in to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/build-docker-db.yml b/.github/workflows/build-docker-db.yml index 4c2894e7..75dc20ad 100644 --- a/.github/workflows/build-docker-db.yml +++ b/.github/workflows/build-docker-db.yml @@ -19,7 +19,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub + - name: Log in to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/frontend-test-and-build.yml b/.github/workflows/frontend-test-and-build.yml index c9c0563a..91af30c8 100644 --- a/.github/workflows/frontend-test-and-build.yml +++ b/.github/workflows/frontend-test-and-build.yml @@ -33,7 +33,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub + - name: Log in to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/app/src/app/components/login/BasicUserAuthForm.tsx b/app/src/app/components/login/BasicUserAuthForm.tsx index d539d3d2..a6ff848d 100644 --- a/app/src/app/components/login/BasicUserAuthForm.tsx +++ b/app/src/app/components/login/BasicUserAuthForm.tsx @@ -94,7 +94,7 @@ export const BasicUserAuthForm = () => { )} /> diff --git a/app/src/app/components/login/Login.tsx b/app/src/app/components/login/Login.tsx index df975ff5..115f62b0 100644 --- a/app/src/app/components/login/Login.tsx +++ b/app/src/app/components/login/Login.tsx @@ -4,7 +4,7 @@ export default function Login() { return ( <>
-

Login to account

+

Log in to account

diff --git a/app/src/app/components/login/UpdatePasswordForm.tsx b/app/src/app/components/login/UpdatePasswordForm.tsx index 4ba01d34..c41763a9 100644 --- a/app/src/app/components/login/UpdatePasswordForm.tsx +++ b/app/src/app/components/login/UpdatePasswordForm.tsx @@ -26,7 +26,7 @@ export const UpdatePasswordForm = ({ email }: UpdatePasswordFormProps) => { method: "POST", noAuth: true }); - navigate(`/login?email=${email}&success=Password updated successfully. Please login.`); + navigate(`/login?email=${email}&success=Password updated successfully. Please log in.`); } catch (error) { console.error(error); if (error instanceof ApiError) { diff --git a/app/src/tests/components/login/BasicUserAuthForm.test.tsx b/app/src/tests/components/login/BasicUserAuthForm.test.tsx index f2d94f1a..95f2ad00 100644 --- a/app/src/tests/components/login/BasicUserAuthForm.test.tsx +++ b/app/src/tests/components/login/BasicUserAuthForm.test.tsx @@ -134,7 +134,7 @@ describe("BasicUserAuthForm", () => { }); it("should fill in email and success message if update password success message is in search params", async () => { - const successMessage = "Password updated successfully. Please login."; + const successMessage = "Password updated successfully. Please log in."; const email = "test@email.com"; render( diff --git a/app/src/tests/components/login/Redirect.test.tsx b/app/src/tests/components/login/Redirect.test.tsx index 67753311..24d46bb4 100644 --- a/app/src/tests/components/login/Redirect.test.tsx +++ b/app/src/tests/components/login/Redirect.test.tsx @@ -105,7 +105,7 @@ describe("redirect", () => { renderElement("/redirect?error=invalid_token"); await waitFor(() => { - expect(screen.getByText(/login to account/i)).toBeInTheDocument(); + expect(screen.getByText(/log in to account/i)).toBeInTheDocument(); expect(screen.getByText(/invalid_token/i)).toBeInTheDocument(); }); }); diff --git a/app/src/tests/components/login/UpdatePasswordForm.test.tsx b/app/src/tests/components/login/UpdatePasswordForm.test.tsx index 8dedce52..96d7f92a 100644 --- a/app/src/tests/components/login/UpdatePasswordForm.test.tsx +++ b/app/src/tests/components/login/UpdatePasswordForm.test.tsx @@ -73,7 +73,7 @@ describe("UpdatePasswordForm", () => { await waitFor(() => { expect(mockedUsedNavigate).toHaveBeenCalledWith( - `/login?email=${testEmail}&success=Password updated successfully. Please login.` + `/login?email=${testEmail}&success=Password updated successfully. Please log in.` ); }); }); diff --git a/db/README.md b/db/README.md index dca05566..64abd8f6 100644 --- a/db/README.md +++ b/db/README.md @@ -6,7 +6,7 @@ Postgresql database for storing packit web app data. ## Basic Auth Admin user For basic auth superadmin may be needed, where the credentials are stored in the vault.(secret/packit/basicauth). -This user is created automatically when the run command is execited with the `basicauth` argument. +This user is created automatically when the run command is executed with the `basicauth` argument. ### Development: Run direct postgres query. This can be to insert test data or just for testing.