This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,9 @@ public function loginCredentials2(string &$sEmail, ?string &$sPassword = null) :
87
87
public function beforeLogin (\RainLoop \Model \Account $ oAccount , \MailSo \Net \NetClient $ oClient , \MailSo \Net \ConnectSettings $ oSettings ) : void
88
88
{
89
89
$ oSettings ->username = \OC ::$ server ->getUserSession ()->getUser ()->getUID ();
90
- $ this ->oidcLogin ($ oAccount , $ oClient , $ oSettings );
91
- }
92
-
93
- // https://apps.nextcloud.com/apps/oidc_login
94
- // DISABLED https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
95
- public function oidcLogin (\RainLoop \Model \Account $ oAccount , \MailSo \Net \NetClient $ oClient , \MailSo \Net \ConnectSettings $ oSettings ) : void
96
- {
90
+ /*
91
+ // https://apps.nextcloud.com/apps/oidc_login
92
+ // DISABLED https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
97
93
if (\OC::$server->getConfig()->getAppValue('snappymail', 'snappymail-autologin-oidc', false)
98
94
&& \OC::$server->getSession()->get('is_oidc')
99
95
// && $oClient->supportsAuthType('OAUTHBEARER') // v2.28
@@ -104,6 +100,7 @@ public function oidcLogin(\RainLoop\Model\Account $oAccount, \MailSo\Net\NetClie
104
100
\array_unshift($oSettings->SASLMechanisms, 'OAUTHBEARER');
105
101
}
106
102
}
103
+ */
107
104
}
108
105
109
106
/*
You can’t perform that action at this time.
0 commit comments