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:
parent
0991c4ae7e
commit
236833ed5d
@ -249,7 +249,7 @@ const DiscourseURL = EmberObject.extend({
|
|||||||
userPath(currentUser.get("username_lower") + "/")
|
userPath(currentUser.get("username_lower") + "/")
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return redirectTo("/404");
|
return redirectTo("/login-preferences");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user