user_add: Add a user to the application

Description Usage Arguments Value Examples

View source: R/db_functions.R

Description

Add a user to the application

Usage

1
user_add(user_email = NULL, username = NULL, password = NULL)

Arguments

username

username

password

Hashed password

con

User database connection

email

email address

Value

TRUE

Examples

1
2
3
4
5
6
7
8
9
con <- dbConnect(RSQLite::SQLite(), ":memory:")

login_db_create(con)

user_add(
  email = "user(at)example.com",
  username = "another_user",
  password = "ahashedpassword"
)

neilcharles/shinylogin documentation built on Feb. 13, 2022, 11:52 p.m.