Fix alternative logins custom css class

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>
pull/34685/head
zorn-v 2 years ago committed by GitHub
parent 53b6d67bc1
commit a27388ccd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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, [

Loading…
Cancel
Save