I am using Discourse with a WordPress website where WordPress is the SSO provider.
As WordPress is the SSO provider, you can’t change your password within the Discourse user settings.
Would it be possible to add a button, in the Account settings, which links to my main website to that the user can change his password?
Here is a mockup of what I would like to have:
Hmmm… I’m not 100% sure that setting/template should be loaded when SSO is enabled, so overriding it might not do anything. I know on our Production instance (which isn’t latest), we do not see the Change Password field/setting in our User Preferences.
From your posts it sounds like you edited files directly - please don’t do that! 1, if you edited them via the ssh they will simply be overwritten upon the next update. 2, if you edited them in a way that replaced the files upon each update, your going to break something. Please be sure to make changes to Discourse via customizations in /admin or via a plugin.