Skip to content

Commit

Permalink
Correct spelling of login when used as verb
Browse files Browse the repository at this point in the history
The noun is 'login' and the verb is 'log in'.
  • Loading branch information
david-mears-2 committed Nov 20, 2024
1 parent 460adf9 commit d489d37
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/components/login/BasicUserAuthForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const BasicUserAuthForm = () => {
)}
/>
<Button type="submit" className="w-full">
<Mail className="mr-2 h-4 w-4" /> Login with Email
<Mail className="mr-2 h-4 w-4" /> Log in with email
</Button>
</form>
</Form>
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/components/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Login() {
return (
<>
<div className="flex flex-col space-y-2 text-center">
<h1 className="text-2xl font-semibold tracking-tight">Login to account</h1>
<h1 className="text-2xl font-semibold tracking-tight">Log in to account</h1>
</div>
<UserAuthForm />
</>
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/components/login/UpdatePasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/tests/components/login/BasicUserAuthForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]";
render(
<MemoryRouter initialEntries={[`/login?email=${email}&success=${successMessage}`]}>
Expand Down
2 changes: 1 addition & 1 deletion app/src/tests/components/login/Redirect.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});
Expand Down
2 changes: 1 addition & 1 deletion app/src/tests/components/login/UpdatePasswordForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.`
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d489d37

Please sign in to comment.