Fixed login error
This commit is contained in:
@@ -87,5 +87,9 @@ mp.events.add('disableLogin', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function showCefError(error) {
|
function showCefError(error) {
|
||||||
loginBrowser.execute(`showError('${error}')`);
|
try {
|
||||||
|
loginBrowser.execute(`showError('${error}')`);
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user