mirror of
https://github.com/discourse/discourse.git
synced 2025-04-17 00:39:31 +08:00
FIX: redirect /my/*path
to /login-preferences
on client side
This commit is contained in:
parent
0991c4ae7e
commit
236833ed5d
@ -249,7 +249,7 @@ const DiscourseURL = EmberObject.extend({
|
||||
userPath(currentUser.get("username_lower") + "/")
|
||||
);
|
||||
} else {
|
||||
return redirectTo("/404");
|
||||
return redirectTo("/login-preferences");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user