mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: redirect /my/*path to /login-preferences on client side
This commit is contained in:
@@ -249,7 +249,7 @@ const DiscourseURL = EmberObject.extend({
|
||||
userPath(currentUser.get("username_lower") + "/")
|
||||
);
|
||||
} else {
|
||||
return redirectTo("/404");
|
||||
return redirectTo("/login-preferences");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user