Skip to content

Commit 2e24ece

Browse files
bilbolodzPiotr Goczał
authored andcommitted
Update imap.php
Signed-off-by: Piotr Goczał <[email protected]>
1 parent fce6595 commit 2e24ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/imap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function checkPassword($uid, $password) {
8181
$username = $uid;
8282
}
8383

84-
if ($this->user_regexp != '') {
84+
if ($this->user_regexp !== '') {
8585
if (!preg_match('/'.$this->user_regexp.'/', $username)) {
8686
OC::$server->getLogger()->error(
8787
'ERROR: User:'.$username.' does NOT match user regexp: '.$this->user_regexp,

0 commit comments

Comments
 (0)