Skip to content

Commit 92d274b

Browse files
committed
Merge pull request #233 from kujtimiihoxha/kujtimiihoxha-patch2
Redirect to login for routes that require authentication
2 parents e15f072 + fdefb74 commit 92d274b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular/run/routes.run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function RoutesRun($rootScope, $state, $auth) {
88
/*Cancel going to the authenticated state and go back to landing*/
99
if (!$auth.isAuthenticated()) {
1010
event.preventDefault();
11-
return $state.go('app.landing');
11+
return $state.go('app.login');
1212
}
1313
}
1414

0 commit comments

Comments
 (0)