mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:16:47 +00:00
Allow registration of Signal Logins
This commit is contained in:
1 parent
3201ab324e
commit
713ab0314e
27 files changed
+1582
-289
No files matched your search
@@ -96,6 +96,7 @@ public final class Operations {
|
||||
// register account
|
||||
final RegistrationRequest registrationRequest = new RegistrationRequest(null,
|
||||
registrationPassword,
|
||||
null,
|
||||
accountAttributes,
|
||||
true,
|
||||
new IdentityKey(aciIdentityKeyPair.getPublicKey()),
|
||||
|
||||
@@ -134,7 +134,7 @@ public class TestUser {
|
||||
|
||||
public AccountAttributes accountAttributes() {
|
||||
return new AccountAttributes(true, registrationId, pniRegistrationId, "".getBytes(StandardCharsets.UTF_8), "", true,
|
||||
DeviceCapability.CAPABILITIES_REQUIRED_FOR_NEW_DEVICES)
|
||||
DeviceCapability.CAPABILITIES_REQUIRED_FOR_NEW_DEVICES, null)
|
||||
.setUnidentifiedAccessKey(unidentifiedAccessKey)
|
||||
.setRecoveryPassword(registrationPassword);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user