lemmy_login | R Documentation |
HTTP.POST /user/login
lemmy_login(
username_or_email,
password,
totp_2fa_token = NULL,
.lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)
username_or_email |
A character value. |
password |
A character value. |
totp_2fa_token |
(Optional) A character value. |
.lemmy_instance |
Default: "https://lemmy.world". Change the default instance by setting the |
A list
of length 3:
<list> |-jwt: (Optional) A character value |-registration_created: A logical value `-verify_email_sent: A logical value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.