loginUI | R Documentation |
The login User Interface design elements are controlled.
This loginUI
Module is for use with loginServer
module.
loginUI(
id,
title = "Please log in",
server_title = "Server Name ",
user_title = "User Name",
pass_title = "Password",
login_title = "Log in",
error_message = "Invalid username or password!"
)
id |
Character String. Shiny id |
title |
Character String. Header title for the login panel |
server_title |
Character String. Label for the name of server being accessed |
user_title |
Character String. Label for the user name text input |
pass_title |
Character String. Label for the password text input |
login_title |
Character String. Label for the login button |
error_message |
Character String. Message to display after failed login |
Shiny UI
This code was modified from https://github.com/PaulC91/shinyauthr
Other modules:
loginServer()
,
logoutServer()
,
logoutUI()
## Not run:
loginUI("login")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.