mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WI-33574 Authentication popup doesn't appear in case password is missing
This commit is contained in:
@@ -62,7 +62,7 @@ fun CredentialAttributes(requestor: Class<*>, userName: String?) = CredentialAtt
|
||||
fun Credentials?.isFulfilled() = this != null && userName != null && !password.isNullOrEmpty()
|
||||
fun Credentials?.hasOnlyUserName() = this != null && userName != null && password.isNullOrEmpty()
|
||||
|
||||
fun Credentials?.isEmpty() = this == null || (userName == null && password == null)
|
||||
fun Credentials?.isEmpty() = this == null || (userName == null && password.isNullOrEmpty())
|
||||
|
||||
// input will be cleared
|
||||
@JvmOverloads
|
||||
|
||||
Reference in New Issue
Block a user