| | |
| | | /// </summary>
|
| | | /// <param name="checkAuthority">是否检测权限</param>
|
| | | /// <returns></returns>
|
| | | private static HttpConnectMode GetHttpConnectMode(bool checkAuthority)
|
| | | public static HttpConnectMode GetHttpConnectMode(bool checkAuthority)
|
| | | {
|
| | | if (checkAuthority == false)
|
| | | {
|
| | |
| | | Shared.IO.FileUtils.WriteFileByBytes(UserCenterResourse.UserInfo.UserIconFile, UserCenterResourse.UserInfo.HeadImage);
|
| | | }
|
| | | UserCenterResourse.UserInfo.HeadImage = null;
|
| | | //手势密码
|
| | | UserCenterResourse.Option.GestureAuthentication = UserCenterResourse.UserInfo.GesturePwd == null ? string.Empty : UserCenterResourse.UserInfo.GesturePwd;
|
| | | UserCenterResourse.UserInfo.GesturePwd = null;
|
| | | //密码验证
|
| | | UserCenterResourse.Option.PswAuthentication = UserCenterResourse.UserInfo.StringPwd == null ? string.Empty : UserCenterResourse.UserInfo.StringPwd;
|
| | | UserCenterResourse.UserInfo.StringPwd = null;
|
| | |
|
| | | //初始化管理员控制主人的连接地址(因为这个连接Token是不会改变的,所以只需要初始化一次)
|
| | | await InitAdminConnectMainInfo();
|