Render a button for the user to logout.
logout_button(
id,
label = "Logout",
icon = shiny::icon("right-from-bracket"),
style = "",
check_login = TRUE
)
a shiny::actionButton()
if the user is logged in.
id unique ID for the Shiny Login module.
label of the logout button.
icon for the logout button.
CSS styles for the logout button.
if TRUE this will call is_logged_in()
.