Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom10086 committed Aug 1, 2018
2 parents 598d107 + 3fad6d0 commit 7a4f482
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<activity android:name=".activity.ReplyCzActivity" />
<activity android:name=".activity.ThemeActivity" />
<activity android:name=".activity.ChangePasswordActivity" />
<activity android:name=".activity.ForgetPasswordActivity"></activity>
<activity android:name=".activity.ForgetPasswordActivity" />
</application>

</manifest>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ protected void onCreate(Bundle savedInstanceState) {
btnSubmit = findViewById(R.id.btn_submit);
emailTextInput = findViewById(R.id.email_input);
TextView infoView = findViewById(R.id.info_view);

String urlReplace = App.BASE_URL_ME.replace("http://", "");
urlReplace = urlReplace.substring(0, urlReplace.lastIndexOf("/"));

infoView.setText("注意: 外网用户无法访问邮件里面的找回密码链接,需要将域名修改为外网域名["
+ urlReplace
+ "]并加上尾缀[&mobile=2]\n举例: 原始链接[http://rs.xidian.edu.cn/xxx]\n" +
"修改后: [" + App.BASE_URL_ME + "xxx&mobile=2]");

infoView.setText("外网用户无法访问邮件里面的找回密码链接,需要将域名修改为外网域名"
+ App.BASE_URL_ME
+ "并加上尾缀&mobile=2\n举例:原始链接[http://rs.xidian.edu.cn/xxx]\n修改后:["
+ App.BASE_URL_ME + "xxx&mobile=2]");
btnSubmit.setOnClickListener(v -> submit());
edEmail.addTextChangedListener(new TextWatcher() {
@Override
Expand Down

0 comments on commit 7a4f482

Please sign in to comment.