Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TeDomum
Element
Commits
3923d6e3
Commit
3923d6e3
authored
Mar 20, 2020
by
kaiyou
Committed by
ayiniho
Dec 06, 2021
Browse files
Internal hack to disable the registration page
parent
996d7984
Pipeline
#7678
passed with stage
in 7 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/vector/app.tsx
View file @
3923d6e3
...
...
@@ -105,13 +105,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
'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment