Minor bugfix
parent
2cf963d765
commit
01d4e137b1
|
@ -295,7 +295,7 @@ module.exports.getUserData = async function () {
|
||||||
module.exports.logout = function() {
|
module.exports.logout = function() {
|
||||||
if (!shared.isLogged) {
|
if (!shared.isLogged) {
|
||||||
console.warn('user not authenticated, unable to continue');
|
console.warn('user not authenticated, unable to continue');
|
||||||
return info.version;
|
return;
|
||||||
}
|
}
|
||||||
shared.isLogged = false;
|
shared.isLogged = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue