Commit 834910cd by tdgiang

update code

parent ff0becda
......@@ -24,7 +24,7 @@ import {
const getUserRoleAuthStatus = (pathname, user) => {
//return true
if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard")
if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard" || pathname=="/my-profile" || pathname=="/change-password" )
return true
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