Skip to content

Commit ddbfdc0

Browse files
authored
Update imap.php
1 parent 03fc73e commit ddbfdc0

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)