Browse Source

improve forgot password page

web_access_fix
Jason Chuang 13 hours ago
parent
commit
2e4c44629f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/pages/authentication/ForgotPassword/AuthCallback/index.js

+ 2
- 2
src/pages/authentication/ForgotPassword/AuthCallback/index.js View File

@@ -69,9 +69,9 @@ const Index = () => {
email: decodeURIComponent(params.email),
emailVerifyHash: decodeURIComponent(params.verifyCode)
}
}).then(
} ).then(
(response)=>{
if (response.status === 200 && response.data) {
if (response.status === 200 && response.data && response.data.username) {
console.log(response)
setUsername(response.data.username)
setVerifyState(true)


Loading…
Cancel
Save