Prevent password enforcement for SASL anonymous

requirePassword from 92f4aadfdc
already excludes SASL external, but missed SASL anonymous.
master
Ingo Bauersachs 12 months ago
parent ec456399b5
commit 9b339efbc1
  1. 4
      smack-core/src/main/java/org/jivesoftware/smack/sasl/core/SASLAnonymous.java

@ -60,4 +60,8 @@ public class SASLAnonymous extends SASLMechanism {
// SASL Anonymous is always successful :)
}
@Override
public boolean requiresPassword() {
return false;
}
}

Loading…
Cancel
Save