FIX: redirect `/my/*path` to `/login-preferences` on client side

FIX: redirect /my/*path to /login-preferences on client side

diff --git a/app/assets/javascripts/discourse/lib/url.js b/app/assets/javascripts/discourse/lib/url.js
index ed46452..4ee7e5a 100644
--- a/app/assets/javascripts/discourse/lib/url.js
+++ b/app/assets/javascripts/discourse/lib/url.js
@@ -249,7 +249,7 @@ const DiscourseURL = EmberObject.extend({
           userPath(currentUser.get("username_lower") + "/")
         );
       } else {
-        return redirectTo("/404");
+        return redirectTo("/login-preferences");
       }
     }
 

GitHub sha: 236833ed

This commit has been mentioned on Discourse Meta. There might be relevant details there: