Skip to content

Commit

Permalink
Show error message in case of invalid credentials
Browse files Browse the repository at this point in the history
For regular users, it is not possible to find out what is wrong without
a message being shown.
  • Loading branch information
Rainer-Keller committed Dec 12, 2024
1 parent f425a30 commit f402431
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WaipuData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ void WaipuData::LoginThread()
}

continue;
} else if (m_login_status == WAIPU_LOGIN_STATUS::INVALID_CREDENTIALS) {
kodi::QueueNotification(QUEUE_ERROR, "", kodi::addon::GetLocalizedString(30030));
}

kodi::addon::CInstancePVRClient::ConnectionStateChange("Connecting",
Expand Down

0 comments on commit f402431

Please sign in to comment.