I have an auth component that works very hard until I have embedded a page for the user to change user information. I experienced some unknown results until I found out that after the user information is changed by this action, the user data loaded by the auth component in the session will still remain unchanged. I wanted to know if there is a way to force the auth component to reload user data from the database again? I reviewed the issue of re-registering a user, but it complicates the logs and places some bad traces in the program. is there a nicer way to do this?
source share