Commit 834910cd by tdgiang

update code

parent ff0becda
...@@ -24,7 +24,7 @@ import { ...@@ -24,7 +24,7 @@ import {
const getUserRoleAuthStatus = (pathname, user) => { const getUserRoleAuthStatus = (pathname, user) => {
//return true //return true
if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard") if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard" || pathname=="/my-profile" || pathname=="/change-password" )
return true return true
if(user){ if(user){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment