Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/hello.js
Original file line number Diff line number Diff line change
Expand Up @@ -1621,6 +1621,16 @@ hello.utils.Event.call(hello);
emit('update');
}

// Issue 541 : Support on auth.error event - @prathmesh-sananse
// Check if there was an error in the session
else if (session && session.error) {
hello.emit('auth.error', {
network: name,
error: session.error,
authResponse: session
});
}

// Updated stored session
oldSessions[name] = session;

Expand Down