Restore from old version to a new version of discourse failed

Hey,Thank you very much for your recent support.With the help of a good programmer friend, I modified part of the script and finally restored the backup. If you want to know what we did, please leave me a message.

However, I encountered another troublesome problem that my original discourse used sso. When I have restored the backup, I want to change my username and password to log in to the new discourse. But this is not allowed, do not log in as the administrator, no rights to modify the login. What should I do?