diff --git a/src/@fuse/core/FuseAuthorization/FuseAuthorization.js b/src/@fuse/core/FuseAuthorization/FuseAuthorization.js index c4000ee..e75fb2d 100644 --- a/src/@fuse/core/FuseAuthorization/FuseAuthorization.js +++ b/src/@fuse/core/FuseAuthorization/FuseAuthorization.js @@ -50,7 +50,6 @@ class FuseAuthorization extends Component { const { location, userRole } = this.props; const { pathname } = location; const redirectUrl = loginRedirectUrl || this.defaultLoginRedirectUrl; - console.log(location, userRole, redirectUrl); /* User is guest diff --git a/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js b/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js index c577997..338b1f6 100644 --- a/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js +++ b/src/app/main/authPages/forgot-password/ForgotPasswordConfig.js @@ -1,7 +1,7 @@ import i18next from 'i18next'; import ForgotPasswordPage from './ForgotPasswordPage'; -import authRoles from '../../../auth/authRoles'; +import authRoles from '../../../configs/authRoles'; import en from './i18n/en'; i18next.addResourceBundle('en', 'forgotPasswordPage', en); diff --git a/src/app/theme-layouts/shared-components/UserNavbarHeader.js b/src/app/theme-layouts/shared-components/UserNavbarHeader.js index 9c135bc..6c067de 100644 --- a/src/app/theme-layouts/shared-components/UserNavbarHeader.js +++ b/src/app/theme-layouts/shared-components/UserNavbarHeader.js @@ -40,7 +40,7 @@ function UserNavbarHeader(props) { src={user.data.photoURL} alt={user.data.displayName} > - {user.data.displayName.charAt(0)} + {user.data.displayName?.charAt(0)}