mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Fix twofactor loading and public image
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
a1aaaaa0c8
commit
fa18a77fa2
2 changed files with 3 additions and 2 deletions
|
|
@ -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…
Reference in a new issue