Template password.block

Language: handlebars

Outputs password controls

{{template "password.block"}}

If display mode, simply outputs the password’s obfuscated value

If in edit mode, presents a control for the password and another to confirm it

If the user has previously set a password (ie. has a local provider), they are prompted to provide the current password

Name Type Attributes Description
edit boolean <optional>
hasLocalProvider boolean <optional>
password string <optional>

Password value - will be obfuscated in display