Skip to content

Commit

Permalink
fix: fixed forgot password link and added emby support to the forgot …
Browse files Browse the repository at this point in the history
…password link

fix #99
  • Loading branch information
Fallenbagel committed May 26, 2022
1 parent 18d8d96 commit ead64e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Login/JellyfinLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,11 @@ const JellyfinLogin: React.FC<JellyfinLoginProps> = ({
as="a"
buttonType="ghost"
href={
settings.currentSettings.jellyfinHost +
'/web/#!/forgotpassword.html'
process.env.JELLYFIN_TYPE == 'emby'
? settings.currentSettings.jellyfinHost +
'/web/index.html#!/startup/forgotpassword.html'
: settings.currentSettings.jellyfinHost +
'/web/index.html#!/forgotpassword.html'
}
>
{intl.formatMessage(messages.forgotpassword)}
Expand Down

0 comments on commit ead64e1

Please sign in to comment.