How can I revoke session, if any, in the backendCo...
# support-questions-legacy
s
How can I revoke session, if any, in the backendConfig in passwordResetPost? The reason why I want this is because I implemented auto login but their could be issues with it when a session already exists. I tried looking into the input.options.req but none of the tools it has seems useful.
r
Hey. You can call getSession in the override, and when that returns a session, you can call session.revokeSession on it
s
Thank you it worked
3 Views