2020-04-11 14:20:25 +00:00
|
|
|
[jellyfin]
|
|
|
|
; It is reccommended to create a limited admin account for this program.
|
|
|
|
username = username
|
|
|
|
password = password
|
|
|
|
; Server will also be used in the invite form, so make sure it's publicly accessible.
|
|
|
|
server = https://jellyf.in:443
|
|
|
|
client = jf-accounts
|
|
|
|
version = 0.1
|
|
|
|
device = jf-accounts
|
|
|
|
device_id = jf-accounts-0.1
|
|
|
|
|
|
|
|
[ui]
|
2020-04-15 10:16:29 +00:00
|
|
|
; Set 0.0.0.0 to run localhost
|
|
|
|
host = 0.0.0.0
|
2020-04-11 14:20:25 +00:00
|
|
|
port = 8056
|
|
|
|
username = your username
|
|
|
|
password = your password
|
|
|
|
debug = false
|
|
|
|
|
2020-04-12 20:25:27 +00:00
|
|
|
; Displayed at the bottom of all pages except admin
|
2020-04-11 14:20:25 +00:00
|
|
|
contact_message = Need help? contact me.
|
|
|
|
; Displayed at top of form page.
|
|
|
|
help_message = Enter your details to create an account.
|
|
|
|
; Displayed when an account is created.
|
|
|
|
success_message = Your account has been created. Click below to continue to Jellyfin.
|
|
|
|
|
2020-04-14 20:31:44 +00:00
|
|
|
[password_validation]
|
|
|
|
; Enables password validation.
|
|
|
|
enabled = true
|
|
|
|
; Min. password length
|
|
|
|
min_length = 8
|
|
|
|
; Min. number of uppercase characters
|
|
|
|
upper = 1
|
2020-04-16 13:33:23 +00:00
|
|
|
; Min. number of lowercase characters
|
|
|
|
lower = 0
|
2020-04-14 20:31:44 +00:00
|
|
|
; Min. number of numbers
|
|
|
|
number = 1
|
|
|
|
; Min. number of special characters
|
|
|
|
special = 0
|
|
|
|
|
2020-04-12 20:25:27 +00:00
|
|
|
[email]
|
|
|
|
; Enable to store provided email addresses, monitor jellyfin directory for pw-resets, and send pin
|
|
|
|
enabled = true
|
|
|
|
; Directory to monitor for passwordReset*.json files. Usually the jellyfin config directory
|
|
|
|
watch_directory = /path/to/jellyfin
|
|
|
|
use_24h = true
|
|
|
|
; Date format follows datetime's strftime.
|
|
|
|
date_format = %-d/%-m/%-y
|
|
|
|
; Path to custom email html. If blank, uses the internal template.
|
|
|
|
email_template =
|
|
|
|
; Path to alternate plaintext email. If blank, uses the internal template.
|
|
|
|
email_plaintext =
|
|
|
|
; Displayed at bottom of emails
|
|
|
|
message = Need help? contact me.
|
|
|
|
; Mail methods: mailgun, smtp
|
|
|
|
method = smtp
|
|
|
|
; Subject of emails
|
|
|
|
subject = Password Reset - Jellyfin
|
|
|
|
; Address to send from
|
|
|
|
address = jellyfin@jellyf.in
|
|
|
|
; The name of the sender
|
|
|
|
from = Jellyfin
|
|
|
|
|
|
|
|
[mailgun]
|
|
|
|
|
|
|
|
api_url = https://api.mailgun.net...
|
|
|
|
api_key = your api key
|
|
|
|
|
|
|
|
[smtp]
|
|
|
|
; Insecure SMTP hasn't been implemented, although I doubt many will need it.
|
|
|
|
ssl = true
|
|
|
|
server = smtp.jellyf.in
|
|
|
|
; Uses SMTP_SSL, so make sure the port is for this, not starttls.
|
|
|
|
port = 465
|
|
|
|
password = smtp password
|
2020-04-11 14:20:25 +00:00
|
|
|
|
|
|
|
[files]
|
|
|
|
; When the below paths are left blank, files are stored in ~/.jf-accounts/.
|
|
|
|
|
|
|
|
; Path to store valid invites.
|
|
|
|
invites =
|
2020-04-12 20:25:27 +00:00
|
|
|
; Path to store emails addresses in JSON
|
2020-04-11 14:20:25 +00:00
|
|
|
emails =
|
|
|
|
; Path to the user policy template. Can be acquired with get-template.
|
|
|
|
user_template =
|
|
|
|
|