File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export default function Sessions(props: PageProps<Extract<KcContext, { pageId: "
4444 < li id = "kc-totp-type" > { msg ( "totpType" ) } : { totp . policy . type == "totp" ? msgStr ( "totp.totp" ) : msgStr ( "totp.hotp" ) } </ li >
4545 < li id = "kc-totp-algorithm" > { msg ( "totpAlgorithm" ) } : { totp . policy . algorithm } </ li >
4646 < li id = "kc-totp-digits" > { msg ( "totpDigits" ) } : { totp . policy . digits } </ li >
47+ { totp . policy . type == "totp" ?
48+ ( < li id = "kc-totp-period" > { msg ( "totpInterval" ) } : { totp . policy . period } </ li > ) : ( < li > { msg ( "totpCounter" ) } : { totp . policy . initialCounter } </ li > ) }
4749 </ ul >
4850 } )
4951 } else {
@@ -114,7 +116,7 @@ export default function Sessions(props: PageProps<Extract<KcContext, { pageId: "
114116 id = "userLabel"
115117 name = "userLabel"
116118 error = { messagesPerField . existsError ( "userLabel" ) ? messagesPerField . get ( "userLabel" ) : null } />
117- < Button element = { 'input ' }
119+ < Button element = { 'button ' }
118120 className = { "p-button" }
119121 id = "saveTOTPBtn"
120122 type = "submit"
You can’t perform that action at this time.
0 commit comments