Better description for re-authentication
This commit is contained in:
parent
13db26f377
commit
fc67640730
2 changed files with 4 additions and 3 deletions
|
@ -365,13 +365,13 @@ public class MainActivity extends BaseActivity
|
||||||
adapter.saveEntries();
|
adapter.saveEntries();
|
||||||
} else if (settings.getEncryption() == Constants.EncryptionType.PASSWORD) {
|
} else if (settings.getEncryption() == Constants.EncryptionType.PASSWORD) {
|
||||||
encryptionType = Constants.EncryptionType.PASSWORD;
|
encryptionType = Constants.EncryptionType.PASSWORD;
|
||||||
authenticate(R.string.auth_msg_confirm,true);
|
authenticate(R.string.auth_msg_confirm_encryption,true);
|
||||||
}
|
}
|
||||||
} else if (key.equals(getString(R.string.settings_key_auth)) ||
|
} else if (key.equals(getString(R.string.settings_key_auth)) ||
|
||||||
key.equals(getString(R.string.settings_key_auth_password_pbkdf2)) ||
|
key.equals(getString(R.string.settings_key_auth_password_pbkdf2)) ||
|
||||||
key.equals(getString(R.string.settings_key_auth_pin_pbkdf2))) {
|
key.equals(getString(R.string.settings_key_auth_pin_pbkdf2))) {
|
||||||
if (encryptionType == Constants.EncryptionType.PASSWORD)
|
if (encryptionType == Constants.EncryptionType.PASSWORD)
|
||||||
authenticate(R.string.auth_msg_confirm, true);
|
authenticate(R.string.auth_msg_confirm_encryption, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
|
|
||||||
<!-- Messages -->
|
<!-- Messages -->
|
||||||
<string name="auth_msg_authenticate">Please authenticate to start andOTP!</string>
|
<string name="auth_msg_authenticate">Please authenticate to start andOTP!</string>
|
||||||
<string name="auth_msg_confirm">Please confirm your authentication!</string>
|
<string name="auth_msg_confirm_encryption">Please confirm your authentication to update the
|
||||||
|
encryption key!</string>
|
||||||
|
|
||||||
<!-- Toast messages -->
|
<!-- Toast messages -->
|
||||||
<string name="auth_toast_password_missing">Please set a password in the settings!</string>
|
<string name="auth_toast_password_missing">Please set a password in the settings!</string>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue