A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: users login page can refresh
shuai6393560409b5
diff --git a/ui/src/components/Header/index.tsx b/ui/src/components/Header/index.tsxindex eda36a03..ced8ffc0 100644--- a/ui/src/components/Header/index.tsx+++ b/ui/src/components/Header/index.tsx@@ -71,6 +71,10 @@ const Header: FC = () => {};const onLoginClick = (evt) => {evt.preventDefault();+ if (location.pathname === '/users/login') {+ window.location.reload();+ return;+ }floppyNavigation.navigateToLogin((loginPath) => {navigate(loginPath, { replace: true });});