Skip to content

Commit 9548d89

Browse files
authored
Update Login.md
addAccessTokenChangeListener
1 parent 1925499 commit 9548d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/Login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function checkForLogin() {
4444

4545
function login() {
4646
//optional -> prevents site reload
47-
chayns.setAccessTokenChange(true, function() {
47+
chayns.addAccessTokenChangeListener(true, function() {
4848
console.log('login successful');
4949
});
5050

0 commit comments

Comments
 (0)