Add login/registration info text

This commit is contained in:
weidenwiesel
2026-02-11 19:16:08 +01:00
parent 938cc068af
commit b464208670
@@ -0,0 +1,21 @@
From e95b4364979bd95ece3ecdbf18f2d60bf3f06a3f Mon Sep 17 00:00:00 2001
From: weidenwiesel <webmaster@nerdvpn.de>
Date: Sat, 20 Dec 2025 11:23:17 +0100
Subject: [PATCH 18/18] Add login form notice
---
src/invidious/views/user/login.ecr | 2 ++
1 files changed, 2 insertions(+)
diff --git a/src/invidious/views/user/login.ecr b/src/invidious/views/user/login.ecr
index 7ac96bc6..aba78ad3 100644
--- a/src/invidious/views/user/login.ecr
+++ b/src/invidious/views/user/login.ecr
@@ -8,6 +8,8 @@
<div class="h-box">
<% case account_type when %>
<% else # "invidious" %>
+ <h1>Login or register</h1>
+ <p>Enter your credentials. For new registrations, you can choose any User ID (min. 3 characters).<br />Existing users will be logged in, new users will be registered automatically.</p>
<form class="pure-form pure-form-stacked" action="/login?referer=<%= URI.encode_www_form(referer) %>&type=invidious" method="post">
<fieldset>
<% if email %>