Update account attributes after setting a pin
Ensures that the recovery password gets set immediately. Related to #1447
This commit is contained in:
parent
fc2ae856d2
commit
378ac23c6c
@ -500,6 +500,7 @@ public class AccountHelper {
|
|||||||
dependencies.getAccountManager().enableRegistrationLock(masterKey);
|
dependencies.getAccountManager().enableRegistrationLock(masterKey);
|
||||||
|
|
||||||
account.setRegistrationLockPin(pin);
|
account.setRegistrationLockPin(pin);
|
||||||
|
updateAccountAttributes();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeRegistrationPin() throws IOException {
|
public void removeRegistrationPin() throws IOException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user