Browse Source

fix authRegister bug requiring 2 logins - again

CauseFX 4 years ago
parent
commit
ff19f2eee7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/classes/organizr.class.php

+ 1 - 1
api/classes/organizr.class.php

@@ -3405,7 +3405,7 @@ class Organizr
 				);
 				$PhpMailer->_phpMailerPluginSendEmail($sendEmail);
 			}
-			if ($this->createToken($username, $this->gravatar($email), $this->config['rememberMeDays'])) {
+			if ($this->createToken($username, $email, $this->config['rememberMeDays'])) {
 				$this->writeLoginLog($username, 'success');
 				$this->writeLog('success', 'Login Function - A User has logged in', $username);
 				return true;