Skip to content

Commit 4fa0712

Browse files
authored
feat: display application name over sign in form (#11500)
1 parent 30d5ac0 commit 4fa0712

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/src/pages/LoginPage/SignInForm.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { PasswordSignInForm } from "./PasswordSignInForm";
55
import { OAuthSignInForm } from "./OAuthSignInForm";
66
import { Alert } from "components/Alert/Alert";
77
import { ErrorAlert } from "components/Alert/ErrorAlert";
8+
import { getApplicationName } from "utils/appearance";
89

910
export const Language = {
1011
emailLabel: "Email",
@@ -80,10 +81,11 @@ export const SignInForm: FC<React.PropsWithChildren<SignInFormProps>> = ({
8081
authMethods?.github.enabled || authMethods?.oidc.enabled,
8182
);
8283
const passwordEnabled = authMethods?.password.enabled ?? true;
84+
const applicationName = getApplicationName();
8385

8486
return (
8587
<div css={styles.root}>
86-
<h1 css={styles.title}>Sign in</h1>
88+
<h1 css={styles.title}>{applicationName}</h1>
8789

8890
{Boolean(error) && (
8991
<div css={styles.alert}>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy