Add essential cookies consent gate on auth forms
This commit is contained in:
@@ -41,6 +41,12 @@
|
||||
<span class="label" data-i18n="auth.password">Password</span>
|
||||
<input id="login-password" name="password" type="password" autocomplete="current-password" required />
|
||||
</label>
|
||||
<label class="stack consent-row">
|
||||
<span class="label">
|
||||
<input id="login-consent" type="checkbox" />
|
||||
<span data-i18n="auth.cookieLabel">I agree to essential cookies.</span>
|
||||
</span>
|
||||
</label>
|
||||
<button type="submit" data-i18n="auth.loginSubmit">Log in</button>
|
||||
</form>
|
||||
<form id="register-form" class="stack auth-form hidden" data-mode="register">
|
||||
@@ -60,6 +66,12 @@
|
||||
<span class="label" data-i18n="auth.adminKey">Admin key (optional)</span>
|
||||
<input id="register-adminkey" name="adminKey" type="password" maxlength="128" />
|
||||
</label>
|
||||
<label class="stack consent-row">
|
||||
<span class="label">
|
||||
<input id="register-consent" type="checkbox" />
|
||||
<span data-i18n="auth.cookieLabel">I agree to essential cookies.</span>
|
||||
</span>
|
||||
</label>
|
||||
<button type="submit" data-i18n="auth.registerSubmit">Create account</button>
|
||||
</form>
|
||||
<div class="stack">
|
||||
|
||||
Reference in New Issue
Block a user