Pārlūkot izejas kodu

Merge branch 'dev'

prodstable
Guillaume Bourgeois pirms 2 gadiem
vecāks
revīzija
1ffe49a8a0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      common/models/LoginForm.php

+ 1
- 1
common/models/LoginForm.php Parādīt failu

@@ -121,7 +121,7 @@ class LoginForm extends Model
public function getUser()
{
if ($this->_user === false) {
$this->_user = User::findByEmail($this->email);
$this->_user = User::findOne(['email' => $this->email, 'type' => User::TYPE_INDIVIDUAL]);
}

return $this->_user;

Notiek ielāde…
Atcelt
Saglabāt