Custom UI-template (with example usage) that shows a Dialog that asks the user to insert a 4 digits PIN.
This flow can be used as middleware to authorize actions.
Allowed PINS are saved in an array of stings in the node "verify_pin", this can be customized by saving authorized pins in a file or others safer ways.
The ui-group that contains the dialog template must have the property "Display group name" unchecked; it will not be visible in dashboard so do not place anything else in this ui-group.
UI Preview