mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-31 16:32:44 +01:00
Allow special login format in login form (#1258)
This commit is contained in:
parent
f5b46707ff
commit
a448092008
@ -162,7 +162,7 @@ class LoginFormPresenter @Inject constructor(
|
||||
view?.setErrorEmailRequired()
|
||||
isCorrect = false
|
||||
}
|
||||
if ("@" in login && "login" !in host && "email" !in host) {
|
||||
if ("@" in login && "||" !in login && "login" !in host && "email" !in host) {
|
||||
val emailHost = login.substringAfter("@")
|
||||
val emailDomain = URL(host).host
|
||||
if (emailHost != emailDomain) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user