Other solutions for nextcloud auto login #1247 due to a TOTP conflict

This commit is contained in:
the-djmaze 2023-10-02 15:51:19 +02:00
parent 31d50cf67e
commit 26b7abf893
6 changed files with 17 additions and 18 deletions

View file

@ -89,7 +89,7 @@ class LoginOAuth2Plugin extends \RainLoop\Plugins\AbstractPlugin
$iErrorCode = \RainLoop\Notifications::UnknownError;
try
{
$oAccount = $oActions->LoginProcess($sEmail, $sPassword, '', '', false, true);
$oAccount = $oActions->LoginProcess($sEmail, $sPassword);
if ($oAccount instanceof \RainLoop\Model\Account) {
$oActions->AuthToken($oAccount);
$iErrorCode = 0;