-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 943effeb4dc0235ae825db3df59843771f3f2106 Mon Sep 17 00:00:00 2001 | ||
From: Emilien Devos <[email protected]> | ||
Date: Tue, 15 Aug 2023 00:00:45 +0200 | ||
Subject: [PATCH 1/1] message registration disabled | ||
|
||
--- | ||
src/invidious/routes/login.cr | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/invidious/routes/login.cr b/src/invidious/routes/login.cr | ||
index add9f75d..9fb21dfa 100644 | ||
--- a/src/invidious/routes/login.cr | ||
+++ b/src/invidious/routes/login.cr | ||
@@ -73,7 +73,7 @@ module Invidious::Routes::Login | ||
end | ||
else | ||
if !CONFIG.registration_enabled | ||
- return error_template(400, "Registration has been disabled by administrator.") | ||
+ return error_template(400, "Please read why you can't use an account anymore: https://gist.github.com/yewtudotbe/c16a69ddad88a37c2a364a5ff5359197") | ||
end | ||
|
||
if password.empty? | ||
-- | ||
2.41.0 | ||
|