fix: fix missing parameters when signup (#533)

This commit is contained in:
Товарищ программист
2022-03-05 16:47:08 +08:00
committed by GitHub
parent cfbce79e32
commit ca0fa5fc40
3 changed files with 13 additions and 2 deletions

View File

@ -557,7 +557,12 @@ class SignupPage extends React.Component {
</Button>
&nbsp;&nbsp;{i18next.t("signup:Have account?")}&nbsp;
<a onClick={() => {
Setting.goToLogin(this, application);
let linkInStorage = sessionStorage.getItem("loginURL")
if(linkInStorage != ""){
Setting.goToLink(linkInStorage)
}else{
Setting.goToLogin(this, application)
}
}}>
{i18next.t("signup:sign in now")}
</a>