#* The server renders this HTML page in an end-user's browser when a user has initiated pairing flow to pair a security key device. Velocity variables (identified by the $ character) are generated at runtime by the server. Change text or formatting as needed. Modifying Velocity statements is not recommended as it may interfere with expected server behavior. *# #set( $deviceTypeKey = $device.type.toLowerCase()) #if ( $deviceTypeKey == "security_key") #set( $deviceTypeKey = "security.key") #end #set( $messageKeyPrefix = "pingone.mfa.${deviceTypeKey}.device.activation." )
#if($errorMessageKey != "")
$languagePackMessages.getMessage($messageKeyPrefix, $errorMessageKey)
$languagePackMessages.getMessage($messageKeyPrefix, "cancel.button.title")
#end #if($errorMessageKey == "")

# #if ($deviceTypeKey == "security.key")
#elseif ($deviceTypeKey == "platform")
#else
#end $languagePackMessages.getMessage($messageKeyPrefix, "header", ${device.defaultDisplayName})

$languagePackMessages.getMessage($messageKeyPrefix, "message", ${device.defaultDisplayName})

# $languagePackMessages.getMessage($messageKeyPrefix, "consent.title")

$languagePackMessages.getMessage($messageKeyPrefix, "consent.text")
#end