People and accounts
Invite the people you watch with, choose what each person can reach, and get someone back in when they forget their password.
Invite someone
Open Administration › People and choose Invite someone. You get a link and a code. Send either one.
- Link expires after
- 1, 7, 30 or 90 days. The default is 7.
- Who can use it
- One person (the default), up to a number of people (2 to 1,000), or anyone with the link until it expires.
- Several people at once
- Choose Invite several people and write one name per line. Each gets their own link.
- How long they stay
- No end, a number of days from joining, or until a date.
The invitations list shows each one as waiting, accepted, cancelled or expired. Cancel stops the link and code at once. Send again makes a new link and code and stops the old ones.
What the new person does
Open the link
Or go to
/joinon your server and type the code. Spaces, dashes and capitals don’t matter.Accept the house rules
Only if you wrote some. If you turn on Ask for a confirmed contact before an account is made, they also confirm an email address or chat account with a code. Both are under Administration › People › More › Joining.
Make the account
A name of two characters or more, and a password of at least 8 characters.
Save the recovery codes
Leyla shows ten codes once. Each one gets them back in once if they forget their password.
Administrators and members
There are two kinds of account. A member watches. An administrator also opens Administration and always sees every library. To make someone an administrator, open their page under Administration › People and turn on Administrator.
What each person can reach
Open a person’s page and choose Libraries or Limits. Each change saves at once and can be undone.
| Setting | What it does | Default |
|---|---|---|
| Libraries | Every library, or only the ones you pick. | Every library |
| Devices at once | How many screens they can watch on at the same time, 1 to 100. | No limit |
| Largest picture | A bigger picture is converted down to this size, at home too. | No limit |
| Highest bitrate away from home | Caps the stream when they watch outside your network. | No limit |
| Download for offline | Whether the apps can save titles to watch without a connection. | On |
| Request titles | Whether they can ask for titles you don’t have. | On |
| Choose artwork for everyone | Whether they can change a title’s poster for the whole server. | Off |
No age ratings yet Leyla cannot yet limit a person by a title’s age rating. To keep children away from some titles, put those titles in a library the child cannot see.
Templates
A template is a set of libraries and limits you can give to many people, such as Kids, Guests or Family. Templates are under Administration › People › More › Templates. Every new account starts from the first template. An invitation can name a different one. To change people who are already there, choose Apply a template.
Forgotten passwords
On the sign-in page, choose Forgot password?. There are three ways back in:
- A reset link
- Sent to a contact the person has confirmed: email, Discord, Telegram or Matrix. It works once, for 30 minutes. Leyla sends at most three an hour.
- A recovery code
- One of the ten codes from when they joined. Choose Use a recovery code.
- An administrator
- For someone with no confirmed contact and no codes. Open their page, then Account, and set a new password.
A new password signs out every other device that used the old one.
To make a fresh set of recovery codes, open My Leyla › Account › Getting back in and choose Make new codes. The old codes stop working.
Too many wrong passwords
Ten wrong passwords within 15 minutes lock the account for 15 minutes. Each new lock lasts twice as long, up to 4 hours. The count starts over after a quiet day. The sign-in page does not say the account is locked, so a stranger guessing learns nothing.
To let someone in at once, open their page and choose Unlock sign-in.
Deleting an account
A person can delete their own account under My Leyla › Account. It is deleted after a waiting period, 7 days unless you change it under Administration › Settings › Sign-in (0 to 90 days). Until then they can sign in and keep it. An administrator can delete anyone from their page with Delete user…. The last administrator cannot delete their own account. Delete an account says what is removed.
Sign in with your own provider
Instead of passwords in Leyla, people can sign in with Authentik, Keycloak, Authelia, Google or any OpenID Connect provider, or with an LDAP directory. See Sign in with OpenID Connect.
Something missing or wrong here? Tell us.