julianlam / nodebb-plugin-session-sharing

Allows login sessions from your app to persist in NodeBB
MIT License
86 stars 66 forks source link

fix: add password page to edit redirect #114

Closed nesro closed 2 years ago

nesro commented 2 years ago

Hi, the redirects from edit profile were missing the page where user can change its password.

I thought about making this as another option to settings, but I think a simple "fix" is better.

Thanks, Tomas

julianlam commented 2 years ago

Mm, thanks!

There's also edit/username and edit/email, can you update the regex to just match any \w+ that's after /edit, maybe?

nesro commented 2 years ago

Ah sorry, you are right. Your idea is good, I will change it as that.

nesro commented 2 years ago

I updated the commit.