Skip to content

Commit 2479c77

Browse files
committed
Merge branch 'hotfix/10172-reject_promise_in_checkError_with_logoutUser_false_and_without_redirectTo_causes_an_error' of github.com:carloshv93/react-admin into hotfix/10172-reject_promise_in_checkError_with_logoutUser_false_and_without_redirectTo_causes_an_error
2 parents beb79b2 + 18a5b63 commit 2479c77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ra-core/src/auth/useLogoutIfAccessDenied.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const useLogoutIfAccessDenied = (): LogoutIfAccessDenied => {
114114
} else if (redirectTo) {
115115
handleRedirect(redirectTo);
116116
}
117+
117118
return true;
118119
});
119120
},

0 commit comments

Comments
 (0)