On the profile.html discovered that
hanko.onUserLoggedOut(() => {
// successfully logged out, redirect to a page in your application
document.location.href = "..."
}
the paranthesis is missing and needs to be after the curly bracket or braces.
Reproducing the bug
Steps to reproduce the behaviour:
1) Create a profile.html
2) Write the functionality of the code in the vanilla js doc.
Checklist
Describe the bug
Add Section.
On the profile.html discovered that hanko.onUserLoggedOut(() => { // successfully logged out, redirect to a page in your application document.location.href = "..." }
the paranthesis is missing and needs to be after the curly bracket or braces.
Reproducing the bug
Steps to reproduce the behaviour:
1) Create a profile.html
2) Write the functionality of the code in the vanilla js doc.
Logs
No response
Configuration
No response
Hanko Version
nil
OS Hanko Backend
Other
OS Version Hanko Backend
No response
OS
None
OS Version
No response
Browser Version
No response
Environment
None
Additional Context
No response