diff --git a/src/lib/components/login/GitlabLoginButton.svelte b/src/lib/components/login/GitlabLoginButton.svelte index 320475f0..1265beb8 100644 --- a/src/lib/components/login/GitlabLoginButton.svelte +++ b/src/lib/components/login/GitlabLoginButton.svelte @@ -33,7 +33,7 @@ } function handleUrlChange() { - urlIsValid = !!url.match(/^(http|https):\/\/[a-zA-Z0-9-.]+\.[a-zA-Z]{2,}$/); + urlIsValid = !!url.match(/^https?:\/\/\S/g); } function handleClickOutside({ x, y }: MouseEvent) {