From 3c9ad99d4a5eeeb53f7380315197e7133f84d10c Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 27 十月 2020 14:57:33 +0800 Subject: [PATCH] 2020-10-27 1V2.510271 1.密码规则修改,修改为:密码必须为8-20个字符,包含字母、数字和符号。 2.APP本地增加登录,密码错误锁定,连续错误5次登录锁定,锁定5分钟。 3.登录界面,增加登录账号的邮箱格式匹配检测。 4.增加iOS越狱和Androidr Root检测,强制关闭APP。 --- Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs index 80f8a95..3848707 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs @@ -70,5 +70,15 @@ public readonly static string InsufficientAuthority = "You don't have full control over this sharer's home!"; //缃戝叧琚叾瀹冧綇瀹呯粦瀹氾紝涓庣綉鍏抽�氳澶辫触! 璇烽暱鎸夌綉鍏虫寜閽�3S锛岃繘鍏ョ孩鐏父浜紝鐒跺悗閲嶆柊鎼滅储锛� public readonly static string GatewayPasswordError = "Failed to communicate with gateway, as the gateway has already been bound to another residence. Please press the gateway button for 3s, and search again when the red light keeps on."; + //鎺у埗澶辫触 + public readonly static string ControlFailure = ", fail to control."; + //缃戝叧鏃犲搷搴旓紝璇烽噸璇�! + public readonly static string GatewayNoResponse = "No response from gateway, please try again!"; + //瀵嗙爜蹇呴』鏄�8-20涓瓧绗︼紝鍖呮嫭鑷冲皯涓�涓ぇ灏忓啓瀛楁瘝锛屾暟瀛楀拰鐗规畩瀛楃銆� + public readonly static string PasswordStrengthNotMatch = "The password must be 8-20 characters, including at least one uppercase and lowercase letters, numbers and special characters."; + //瀵嗙爜涓嶈兘鍖呭惈鐢ㄦ埛鍚� + public readonly static string PasswordNotUsername = "Password cannot contain username"; + + } } -- Gitblit v1.8.0