We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9548d89 commit 149b031Copy full SHA for 149b031
Frontend/Login.md
@@ -44,11 +44,11 @@ function checkForLogin() {
44
45
function login() {
46
//optional -> prevents site reload
47
- chayns.addAccessTokenChangeListener(true, function() {
+ chayns.addAccessTokenChangeListener(()=> {
48
console.log('login successful');
49
});
50
51
- //reloads tapp after login
52
- chayns.login(['login=true']);
+ //no reload tapp after login
+ chayns.login();
53
}
54
```
0 commit comments