Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Replace Jellyfin's "Forgot Password" button with link to JFA-GO #327

Open
loof2736 opened this issue Dec 29, 2023 · 0 comments

Comments

@loof2736
Copy link

I have JFA-GO set up to send password reset links to users' emails. Obviously Jellyfin can't do this though, so when a user clicks "Forgot password" on the Jellyfin sign-in page, it tries to reset it through Jellyfin (and fails if they aren't in my local network).

In my own setup, I modified the "session-login.c88fc4019dc5f2693ced.chunk.js" JavaScript file in the WebUI files

I just changed the value of

function() {
  m.ZP.navigate("forgotpassword.html")
}

to

function() {
  window.open("https://<jfa-go url>/my/account", "_blank");
}

Now, whenever a user clicks "Reset password" in Jellyfin, it opens JFA-GO in a new tab on the page where they can reset their password (if the "My Account" page is turned on)

Would this be possible to automatically inject into the JS if the config directory is linked to JFA-GO? I'd imagine my manual change will break as soon as they update the WebUI in some way that changes the javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant