Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
819cdfbb4c | |||
8ce355df58 | |||
4a01450a2e | |||
312e3fcca5 | |||
548b2a4e64 | |||
23d6939a83 | |||
73b3896671 |
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -3,6 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@ -132,7 +133,7 @@ jobs:
|
|||||||
if [ "$IS_PRE_RELEASE" = "true" ]; then
|
if [ "$IS_PRE_RELEASE" = "true" ]; then
|
||||||
EXTRA_ARGS="--tag next"
|
EXTRA_ARGS="--tag next"
|
||||||
fi
|
fi
|
||||||
npm publish $EXTRA_ARGS
|
npm publish $EXTRA_ARGS --tag previous
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
VERSION: ${{ needs.check_if_version_upgraded.outputs.to_version }}
|
VERSION: ${{ needs.check_if_version_upgraded.outputs.to_version }}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "keycloakify",
|
"name": "keycloakify",
|
||||||
"version": "6.13.2",
|
"version": "6.13.4",
|
||||||
"description": "Create Keycloak themes using React",
|
"description": "Create Keycloak themes using React",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { clsx } from "../tools/clsx";
|
import { clsx } from "../tools/clsx";
|
||||||
import type { PageProps } from "../KcProps";
|
import type { PageProps } from "../KcProps";
|
||||||
import type { KcContextBase } from "../getKcContext";
|
import type { KcContextBase } from "../getKcContext";
|
||||||
import type { I18nBase } from "../i18n";
|
import type { I18nBase, MessageKeyBase } from "../i18n";
|
||||||
|
|
||||||
export default function LoginConfigTotp(props: PageProps<Extract<KcContextBase, { pageId: "login-config-totp.ftl" }>, I18nBase>) {
|
export default function LoginConfigTotp(props: PageProps<Extract<KcContextBase, { pageId: "login-config-totp.ftl" }>, I18nBase>) {
|
||||||
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
||||||
@ -29,7 +29,7 @@ export default function LoginConfigTotp(props: PageProps<Extract<KcContextBase,
|
|||||||
|
|
||||||
<ul id="kc-totp-supported-apps">
|
<ul id="kc-totp-supported-apps">
|
||||||
{totp.policy.supportedApplications.map(app => (
|
{totp.policy.supportedApplications.map(app => (
|
||||||
<li>{app}</li>
|
<li>{msg(app as MessageKeyBase) == undefined ? app : msg(app as MessageKeyBase)}</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user