Change password module
chpass_ui(id, tag_img = NULL, status = "primary", lan = NULL)chpass_server(
input,
output,
session,
update_credentials,
validate_pwd = NULL,
use_token = FALSE,
lan = NULL
)
Module's id.
A tags$img to be displayed on the authentication module.
Bootstrap status to use for the panel and the button.
Valid status are: "default", "primary", "success",
"warning", "danger".
An language object. Should not be used directly.
Standard Shiny server arguments.
A function to perform an action when changing password is successful.
Two arguments will be passed to the function: user (username) and password
(the new password). Must return a list with at least a slot result with TRUE
or FALSE, according if the update has been successful.
A function to validate the password enter by the user.
Default is to check for the password to have at least one number, one lowercase,
one uppercase and be of length 6 at least.
Add a token in the URL to check authentication. Should not be used directly.