Prepend EDUNET\ to umt.tarnow.pl login
This commit is contained in:
parent
3ce92d979e
commit
9364c2e6fc
1 changed files with 4 additions and 2 deletions
|
@ -67,8 +67,10 @@ class LoginHelper(
|
|||
AUTO -> throw ScrapperException("You must first specify Api.loginType before logging in")
|
||||
STANDARD -> sendStandard(it, password)
|
||||
ADFS -> {
|
||||
if (host == "umt.tarnow.pl") sendADFSMS(email, password) // legacy
|
||||
else sendADFS(it, password)
|
||||
if (host == "umt.tarnow.pl") {
|
||||
val login = if ("@" in email) email else "EDUNET\\$email"
|
||||
sendADFSMS(login, password)
|
||||
} else sendADFS(it, password)
|
||||
}
|
||||
ADFSLight, ADFSLightScoped, ADFSLightCufs -> sendADFSLightGeneric(it, password, loginType)
|
||||
ADFSCards -> sendADFSCards(it, password)
|
||||
|
|
Loading…
Reference in a new issue