Loading lib/Listeners/BeforeTemplateRenderedListener.php +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ class BeforeTemplateRenderedListener implements IEventListener { // Just send over '1' as password to trigger login as the plugin will set the correct access token $password = self::SNAPPYMAIL_AUTOLOGIN_PWD; // As we cannot pass by reference to LoginProcess $oPasswordSensitive = new SnappyMail\SensitiveString($password); $oPasswordSensitive = new \SnappyMail\SensitiveString($password); $account = $actions->LoginProcess($accountId, $oPasswordSensitive, false); if ($account) { Loading Loading
lib/Listeners/BeforeTemplateRenderedListener.php +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ class BeforeTemplateRenderedListener implements IEventListener { // Just send over '1' as password to trigger login as the plugin will set the correct access token $password = self::SNAPPYMAIL_AUTOLOGIN_PWD; // As we cannot pass by reference to LoginProcess $oPasswordSensitive = new SnappyMail\SensitiveString($password); $oPasswordSensitive = new \SnappyMail\SensitiveString($password); $account = $actions->LoginProcess($accountId, $oPasswordSensitive, false); if ($account) { Loading