]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix alternative logins custom css class 34685/head
authorzorn-v <zorn7@yandex.ru>
Thu, 20 Oct 2022 04:32:13 +0000 (14:32 +1000)
committerGitHub <noreply@github.com>
Thu, 20 Oct 2022 04:32:13 +0000 (14:32 +1000)
In NC 25 login page was changed, and alternative login css class get from `class` prop but not `style`.
It is correct change in my opinion, so just add backend fix.

Signed-off-by: zorn-v <zorn7@yandex.ru>
lib/private/legacy/OC_App.php

index a5eb26d0d4ba21005e184f4f21d025054e2872b7..f5e4780a25f32c9b0c4e949a6e229479f708d50b 100644 (file)
@@ -722,7 +722,7 @@ class OC_App {
                                self::$altLogin[] = [
                                        'name' => $provider->getLabel(),
                                        'href' => $provider->getLink(),
-                                       'style' => $provider->getClass(),
+                                       'class' => $provider->getClass(),
                                ];
                        } catch (Throwable $e) {
                                \OC::$server->getLogger()->logException($e, [