[API/Librus] Disable login with credentials in Messages.

This commit is contained in:
Kuba Szczodrzyński 2020-03-26 15:57:13 +01:00
parent b8e1e1d33a
commit d1608d308c

View File

@ -71,7 +71,7 @@ class LibrusLoginMessages(val data: DataLibrus, val onSuccess: () -> Unit) {
if (data.loginMethods.contains(LOGIN_METHOD_LIBRUS_SYNERGIA)) { if (data.loginMethods.contains(LOGIN_METHOD_LIBRUS_SYNERGIA)) {
loginWithSynergia() loginWithSynergia()
} }
else if (data.apiLogin != null && data.apiPassword != null) { else if (data.apiLogin != null && data.apiPassword != null && false) {
loginWithCredentials() loginWithCredentials()
} }
else { else {