chore: 🤖 display auth method names in auth form, if available (#1113)
This commit is contained in:
1 parent
698160d423
commit
509215f787
3 files changed
+14
-6
No files matched your search
@@ -489,7 +489,9 @@ $chevron-down: url("data:image/svg+xml;utf-8,<svg viewBox='0 0 24 24' fill='%231
|
||||
.is-loading {
|
||||
.rose-icon {
|
||||
@keyframes hds-flight-icon-animation-rotation {
|
||||
to {transform: rotate(360deg);}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
> svg {
|
||||
|
||||
@@ -32,7 +32,11 @@
|
||||
@route='scopes.scope.authenticate.method'
|
||||
@model={{authMethod.id}}
|
||||
>
|
||||
{{t (concat 'resources.auth-method.types.' authMethod.type)}}
|
||||
{{#if authMethod.name}}
|
||||
{{authMethod.name}}
|
||||
{{else}}
|
||||
{{t (concat 'resources.auth-method.types.' authMethod.type)}}
|
||||
{{/if}}
|
||||
</nav.link>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
@@ -43,7 +47,11 @@
|
||||
@route='scopes.scope.authenticate.method'
|
||||
@model={{authMethod.id}}
|
||||
>
|
||||
{{t (concat 'resources.auth-method.types.' authMethod.type)}}
|
||||
{{#if authMethod.name}}
|
||||
{{authMethod.name}}
|
||||
{{else}}
|
||||
{{t (concat 'resources.auth-method.types.' authMethod.type)}}
|
||||
{{/if}}
|
||||
</nav.link>
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
|
||||
@@ -86,9 +86,7 @@ const createWindow = (partition, closeWindowCB) => {
|
||||
|
||||
// If the user-specified origin changes, reload the page so that
|
||||
// the CSP can be refreshed with the this source allowed
|
||||
runtimeSettings.onOriginChange(() =>
|
||||
browserWindow.loadURL(emberAppURL)
|
||||
);
|
||||
runtimeSettings.onOriginChange(() => browserWindow.loadURL(emberAppURL));
|
||||
|
||||
// Load the ember application
|
||||
browserWindow.loadURL(emberAppURL);
|
||||
|
||||
Reference in new issue
Block a user