Fix twofactor loading and public image

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
pull/31751/head
John Molakvoæ 3 years ago
parent a1aaaaa0c8
commit fa18a77fa2
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
  1. 2
      apps/theming/lib/Controller/ThemingController.php
  2. 3
      core/css/guest.css

@ -272,6 +272,7 @@ class ThemingController extends Controller {
/**
* @PublicPage
* @NoCSRFRequired
* @NoSameSiteCookieRequired
*
* @param string $key
* @param bool $useSvg
@ -304,6 +305,7 @@ class ThemingController extends Controller {
* @NoCSRFRequired
* @PublicPage
* @NoSameSiteCookieRequired
* @NoTwoFactorRequired
*
* @return FileDisplayResponse|NotFoundResponse
*/

@ -23,8 +23,7 @@ body {
color: var(--color-primary-text);
text-align: center;
background-color: var(--color-primary);
background-image: var(--image-background);
background-image: var(--image-background), linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
background-position: 50% 50%;
background-repeat: repeat;
background-size: var(--image-background-size, 275px, contain);

Loading…
Cancel
Save