Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add spaces around operators
Signed-off-by: Tobias Assmann <[email protected]>
  • Loading branch information
Tobias Assmann authored and juliusknorr committed Oct 8, 2021
commit caae37e9e7edb366eda7cb70490b9504d927231a
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function handle(Event $event): void {
}

// prevent setting an empty pw as result of pw-less-login
if ($event->getPassword()==='') {
if ($event->getPassword() === '') {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public function updatePasswords(string $uid, string $password) {
$this->cache->clear();

// prevent setting an empty pw as result of pw-less-login
if ($password==='') {
if ($password === '') {
return;
}

Expand Down