User changes their own password - invalid token

Hi - In my app the user has the ability to change their own password whilst logged in. I’m getting an invalid token when they do this.

I’m following the instructions here - https://backendless.com/how-to-change-users-password-via-api-if-user-can-login/

Any ideas how to get around this, is there a way of refreshing the token or do I need to logout/login?

Thanks
Pat

This is done by design as a security measure. When the user changes their password and you get a successful callback in the app, redirect them to the login screen.

Regards,
Mark

ok - thanks