Commit 00e8ac40 authored by kaiyou's avatar kaiyou Committed by ayiniho
Browse files

Internal hack to disable the registration page

parent afe8e878
Pipeline #7151 passed with stage
in 6 minutes and 40 seconds
......@@ -102,13 +102,13 @@ function onNewScreen(screen: string, replaceLast = false) {
function makeRegistrationUrl(params: object) {
let url;
if (window.location.protocol === "vector:") {
url = 'https://app.element.io/#/register';
url = 'https://app.element.io/#/login';
} else {
url = (
window.location.protocol + '//' +
window.location.host +
window.location.pathname +
'#/register'
'#/login'
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment