add password reset link option

When enabled (in Settings > Password Resets), a magic link will be sent
instead of a PIN when the user tries reset their password. By doing
this the user doesn't have to keep the Jellyfin tab open to enter the
code.
This commit is contained in:
Harvey Tindall
2021-03-30 22:41:28 +01:00
parent dcd2e234e8
commit 9370913ace
19 changed files with 293 additions and 21 deletions
+1
View File
@@ -308,6 +308,7 @@ func start(asDaemon, firstCall bool) {
app.storage.lang.FormPath = "form"
app.storage.lang.AdminPath = "admin"
app.storage.lang.EmailPath = "email"
app.storage.lang.PasswordResetPath = "pwreset"
externalLang := app.config.Section("files").Key("lang_files").MustString("")
var err error
if externalLang == "" {