Closed huan5678 closed 7 months ago
測試登入頁面以帳密登入後台,顯示 success 後,進入空白後台,需重新整理才會顯示後台資料的畫面。
@echocarriet 你提到的問題,應該我那邊的 nav 合併後就可以解決了 :)
我發現不管是在部署的位置還是這支 PR 或其他 PR ,因為忘記之前註冊的帳號,所以重新新註冊想要看重設密碼這塊 結果我發現手動新註冊都沒有辦法成功
@echocarriet 你提到的問題,應該我那邊的 nav 合併後就可以解決了 :)
好喔,那等妳那邊合併我再測試看看。
不成功的原因在於 流程錯誤直接進入resetpassword的頁面是不能改的 這個頁面目前是接由重置密碼信件裡面的網址跳轉過來的方式所以預設讀網址列上的token往後端送去做重置密碼的動作,如果本來就沒有token自然是不能重設密碼
我目前 run 起來會有這個錯誤訊息唷
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
select-wave | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 2, 2024 3:34pm |
目前看靜態頁面都沒有問題 剛剛使用手動註冊也可以成功了 可能因為下圖的頁面還沒有出來,比較難有 token 去測試重設密碼是否OK
有試過登入狀態下切換到 /resetpassword 的路徑 但是更換秘密碼後,點送出會卡住
在 admin/change-password 可以進行使用者密碼變更 密碼變更完成後,會被登出,但是上面的 navbar 狀態卻沒有變回未登入狀態
功能:重構密碼重置流程及視圖
ResetPassword
路徑。ResetPassword
路徑。ResetPassword.vue
視圖用於密碼重置。backend/ResetPassword.vue
視圖及其相關樣式和腳本。LoginView.vue
按鈕和第三方登錄鏈接以包含具有不同樣式的禁用狀態。