Skip to content

Commit

Permalink
changed coding style to pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
kc committed Dec 22, 2023
1 parent b703d89 commit 8813f86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion program/include/rcmail_oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -976,8 +976,9 @@ public function smtp_connect($options)
$smtp_pass = $options['smtp_pass'];

// skip XOAUTH2 authorization, if indicated
if (($smtp_user == '') || ($smtp_pass == ''))
if (($smtp_user == '') || ($smtp_pass == '')) {
return $options;
}

if (isset($_SESSION['oauth_token'])) {
// check token validity
Expand Down

0 comments on commit 8813f86

Please sign in to comment.