logout_button | R Documentation |
Render a button for the user to logout.
logout_button(
id,
label = "Logout",
icon = shiny::icon("right-from-bracket"),
style = "",
check_login = TRUE
)
id |
id unique ID for the Shiny Login module. |
label |
label of the logout button. |
icon |
icon for the logout button. |
style |
CSS styles for the logout button. |
check_login |
if TRUE this will call |
a shiny::actionButton()
if the user is logged in.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.