Skip to content

Commit b5751ea

Browse files
authored
Add email login validation in Session.php
1 parent b63fc4e commit b5751ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/User/Session.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ public function logClientIn($user,
411411
}
412412

413413
$users = $this->manager->getByEmail($user);
414+
414415
$isValidEmailLogin = (\count($users) === 1 && $this->login($users[0]->getUID(), $password));
415416

416417
if (!$isValidEmailLogin) {

0 commit comments

Comments
 (0)