mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix: fixes jellyfin forgot password and adds emby support to the forgot password link
Fixes jellyfin forgot password as it had a wrong url that lead to an empty page and also adds in emby forgot password link if the environmental variable is set fix #99
This commit is contained in:
@@ -266,8 +266,11 @@ const JellyfinLogin: React.FC<JellyfinLoginProps> = ({
|
|||||||
as="a"
|
as="a"
|
||||||
buttonType="ghost"
|
buttonType="ghost"
|
||||||
href={
|
href={
|
||||||
settings.currentSettings.jellyfinHost +
|
process.env.JELLYFIN_TYPE == 'emby'
|
||||||
'/web/#!/forgotpassword.html'
|
? settings.currentSettings.jellyfinHost +
|
||||||
|
'/web/index.html#!/startup/forgotpassword.html'
|
||||||
|
: settings.currentSettings.jellyfinHost +
|
||||||
|
'/web/index.html#!/forgotpassword.html'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{intl.formatMessage(messages.forgotpassword)}
|
{intl.formatMessage(messages.forgotpassword)}
|
||||||
|
|||||||
Reference in New Issue
Block a user