mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
Add login/registration info text
This commit is contained in:
@@ -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 %>
|
||||
Reference in New Issue
Block a user