File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,8 @@ export const routes: Array<RouteRecordRaw> = [
185185 path : "/sign-up" ,
186186 name : "SignUp" ,
187187 beforeEnter : ( to , from , next ) => {
188- if ( envVariables . isCommunity && ! useUsersStore ( ) . systemInfo . setup ) {
188+ console . log ( envVariables ) ;
189+ if ( ! envVariables . isCloud && ! useUsersStore ( ) . systemInfo . setup ) {
189190 next ( { name : "Setup" } ) ;
190191 }
191192 next ( ) ;
@@ -204,7 +205,7 @@ export const routes: Array<RouteRecordRaw> = [
204205 requiresAuth : false ,
205206 } ,
206207 beforeEnter : ( to , from , next ) => {
207- if ( ! envVariables . isCommunity || useUsersStore ( ) . systemInfo . setup ) {
208+ if ( envVariables . isCloud || useUsersStore ( ) . systemInfo . setup ) {
208209 next ( { name : "Login" } ) ;
209210 }
210211 next ( ) ;
You can’t perform that action at this time.
0 commit comments