Skip to content

Commit

Permalink
Add single sign-on name to buttons
Browse files Browse the repository at this point in the history
Signed-off-by: David Osorno <[email protected]>
  • Loading branch information
davidosorno committed Feb 5, 2024
1 parent 2db9d84 commit 16695d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function SignInOptionsPanel(props: SignInOptionsPanelProps) {
const anonymousOption: DashboardOption = {
name: DashboardSignInOptions[option],
status: signInEnabledOptions.indexOf(DashboardSignInOptions[option]) > -1,
displayName: makeAuthTypeHumanReadable[option],
displayName: makeAuthTypeHumanReadable.ANONYMOUS,
};

setDashboardOptions((prevState) => [...prevState, anonymousOption]);
Expand Down
4 changes: 2 additions & 2 deletions server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,15 @@ export const configSchema = schema.object({
}),
openid: schema.object({
login: schema.object({
buttonname: schema.string({ defaultValue: 'Log in with single sign-on' }),
buttonname: schema.string({ defaultValue: 'Log in with single sign-on (OpenID)' }),
showbrandimage: schema.boolean({ defaultValue: false }),
brandimage: schema.string({ defaultValue: '' }),
buttonstyle: schema.string({ defaultValue: '' }),
}),
}),
saml: schema.object({
login: schema.object({
buttonname: schema.string({ defaultValue: 'Log in with single sign-on' }),
buttonname: schema.string({ defaultValue: 'Log in with single sign-on (SAML)' }),
showbrandimage: schema.boolean({ defaultValue: false }),
brandimage: schema.string({ defaultValue: '' }),
buttonstyle: schema.string({ defaultValue: '' }),
Expand Down

0 comments on commit 16695d9

Please sign in to comment.