mirror of
https://gitee.com/willfree/min-vpn-client_v2.git
synced 2026-10-04 19:42:00 +08:00
fixed something
This commit is contained in:
1 parent
0d226e5c36
commit
39b6588221
2 files changed
+7
-3
No files matched your search
@@ -176,9 +176,8 @@ public class LoginActivity extends MINVpnBaseActivity<LoginActivityPresenter>
|
||||
KeyManager.INSTANCE.initKeyChain("/"+username);
|
||||
|
||||
// 登录server(密码转md5)
|
||||
OriginalLoginRequest loginRequest=new OriginalLoginRequest();
|
||||
loginRequest.Prefix="/"+username;
|
||||
loginRequest.Password= DigestUtilKt.encodeToMD5(password);
|
||||
OriginalLoginRequest loginRequest=new OriginalLoginRequest(username,
|
||||
DigestUtilKt.encodeToMD5(password));
|
||||
if(GlobalSetting.openBiometric){
|
||||
// 第一种模式,人脸识别登录,暂时废弃
|
||||
// mPresenter.downloadRegisterFacePicture(username,loginRequest,this);
|
||||
|
||||
@@ -10,4 +10,9 @@ package com.pkusz.min_vpn_client.model.request;
|
||||
public class OriginalLoginRequest {
|
||||
public String username;
|
||||
public String passwd;
|
||||
|
||||
public OriginalLoginRequest(String username, String passwd){
|
||||
this.username=username;
|
||||
this.passwd=passwd;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user