Gazz
Gazz3y ago

Can't set persist login

Hello, I tried to implement Persistent Login, but when I refresh, I’m redirect on the login page, but if for example, I try to go back to the Dashboard, by typing it on the url, I’m logged in, the persist is working, I don’t understand my mistake, I’m actually using React-router v5 https://prnt.sc/8WYKaIk7OY6j https://prnt.sc/jAS5mjvIBDvs I handle the persistlogin.js file like that because on react-router v5 we don't have Outlet https://prnt.sc/Ij5SdFlxdDUc My index.js file is like that https://prnt.sc/k0bazsDB8_08 Thanks for reading,
Lightshot
Screenshot
Captured with Lightshot
Lightshot
Screenshot
Captured with Lightshot
Lightshot
Screenshot
Captured with Lightshot
Lightshot
Screenshot
Captured with Lightshot
1 Reply
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View