Skip to content

Commit b2eb5bf

Browse files
committed
update login tip
1 parent 2d58190 commit b2eb5bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/common/localization/gsy_string_zh.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GSYStringZh extends GSYStringBase {
5959
String Login_out = "退出登录";
6060

6161
@override
62-
String Login_deprecated = "账号密码登陆的 API 将被 Github 弃用,建议使用尝试使用授权登陆。";
62+
String Login_deprecated = "账号密码登陆的 API 将被 Github 弃用,建议使用尝试使用安全登陆。";
6363

6464
@override
6565
String home_reply = "问题反馈";

lib/page/login/login_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ mixin LoginBLoC on State<LoginPage> {
189189
msg: GSYLocalizations.i18n(context).Login_deprecated,
190190
gravity: ToastGravity.CENTER,
191191
toastLength: Toast.LENGTH_LONG);
192-
192+
return;
193193
if (_userName == null || _userName.isEmpty) {
194194
return;
195195
}

0 commit comments

Comments
 (0)