mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
parent
fb7a3dda24
commit
e586a38291
@ -223,14 +223,14 @@ public class WebViewLoginController extends BaseController {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
|
public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
|
||||||
UserEntity userEntity;
|
UserEntity userEntity = userUtils.getCurrentUser();
|
||||||
|
|
||||||
String alias = null;
|
String alias = null;
|
||||||
if (!isPasswordUpdate) {
|
if (!isPasswordUpdate) {
|
||||||
alias = appPreferences.getTemporaryClientCertAlias();
|
alias = appPreferences.getTemporaryClientCertAlias();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TextUtils.isEmpty(alias) && (userEntity = userUtils.getCurrentUser()) != null) {
|
if (TextUtils.isEmpty(alias) && (userEntity != null)) {
|
||||||
alias = userEntity.getClientCertificate();
|
alias = userEntity.getClientCertificate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user