Skip to content

Commit

Permalink
Remove the local user part of log in button if that's the only option
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Nov 16, 2023
1 parent 0cceafa commit 6680ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/pkg/epinio/components/LoginDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default {
style="font-size: 18px;"
@click="!busy && login(PROVIDER_TYPES.LOCAL)"
>
{{ t('login.loginWithLocal') }}
{{ t(cluster.oidcEnabled ? 'login.loginWithLocal' : 'epinio.login.login') }}
</button>
</div>

Expand Down
1 change: 1 addition & 0 deletions dashboard/pkg/epinio/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ epinio:
warnings:
noNamespace: There are no namespaces. Please create one before proceeding
login:
login: Log in
genericProvider: Log in with Auth Provider
useGenericProvider: Use Auth Provider
model:
Expand Down

0 comments on commit 6680ccc

Please sign in to comment.