mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Only allow ACI auth for websocket at this time.
This commit is contained in:
@@ -18,7 +18,7 @@ public interface CredentialsProvider {
|
|||||||
String getPassword();
|
String getPassword();
|
||||||
|
|
||||||
default boolean isInvalid() {
|
default boolean isInvalid() {
|
||||||
return (getAci() == null && getE164() == null) || getPassword() == null;
|
return getAci() == null || getPassword() == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getUsername() {
|
default String getUsername() {
|
||||||
|
|||||||
Reference in New Issue
Block a user