Fix sentence casing on login (#4741)

This commit is contained in:
RachelElysia 2022-03-22 17:32:41 -04:00 committed by GitHub
parent c16ad0d693
commit 78dc9f2a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ describe("SSO Sessions", () => {
cy.logout();
cy.visit("/");
// Log in
cy.contains("button", "Sign On With SimpleSAML");
cy.contains("button", "Sign on with SimpleSAML");
cy.loginSSO();
cy.contains("Hosts");
});
@ -36,7 +36,7 @@ describe("SSO Sessions", () => {
cy.setupSSO();
cy.logout();
cy.visit("/");
cy.contains("button", "Sign On With SimpleSAML");
cy.contains("button", "Sign on with SimpleSAML");
cy.loginSSO();
// Log in should fail
cy.contains("Password");

View File

@ -294,7 +294,7 @@ Email: sso_user2@example.com
Password: user123#
```
Use the Fleet UI to invite one of these users with the associated email. Be sure the "Enable single sign on" box is checked for that user. Now after accepting the invitation, you should be able to log in as that user by clicking "Sign On with SimpleSAML" on the login page.
Use the Fleet UI to invite one of these users with the associated email. Be sure the "Enable single sign on" box is checked for that user. Now after accepting the invitation, you should be able to log in as that user by clicking "Sign on with SimpleSAML" on the login page.
To add additional users, modify [tools/saml/users.php](https://github.com/fleetdm/fleet/tree/main/tools/saml/users.php) and restart the `simplesaml` container.

View File

@ -47,7 +47,7 @@ class LoginForm extends Component {
let legend = "Single sign on";
if (idpName !== "") {
legend = `Sign On With ${idpName}`;
legend = `Sign on with ${idpName}`;
}
if (imageURL !== "") {
legend = showLegendWithImage(imageURL, idpName);
@ -96,7 +96,7 @@ class LoginForm extends Component {
className={`${baseClass}__forgot-link`}
to={paths.FORGOT_PASSWORD}
>
Forgot Password?
Forgot password?
</Link>
</div>
<Button