clearAccountInformation(true);
if(m_freshLogin) {
emit error(SituareError::LOGIN_FAILED);
- emit loginFailure();
} else {
m_freshLogin = true;
emit error(SituareError::SESSION_EXPIRED);
} else {
qDebug() << "totally wrong webPage";
// we should not get a wrong page at this point
- emit loginFailure();
+ emit error(SituareError::LOGIN_FAILED);
}
} else {
qDebug() << " Loading of page failed invalid URL" << endl;
// we should not get a wrong page at this point
- emit loginFailure();
+ emit error(SituareError::LOGIN_FAILED);
}
return found;
}