瀏覽代碼

improve forgot password page

web_access_fix
Jason Chuang 14 小時之前
父節點
當前提交
2e4c44629f
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/pages/authentication/ForgotPassword/AuthCallback/index.js

+ 2
- 2
src/pages/authentication/ForgotPassword/AuthCallback/index.js 查看文件

@@ -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…
取消
儲存