mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
This commit is contained in:
parent
3dc6f0671a
commit
b52ebf5224
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class UserLoggedInListener implements IEventListener {
|
|||
}
|
||||
|
||||
// prevent setting an empty pw as result of pw-less-login
|
||||
if ($event->getPassword()==='') {
|
||||
if ($event->getPassword() === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -420,7 +420,7 @@ class PublicKeyTokenProvider implements IProvider {
|
|||
}
|
||||
|
||||
// prevent setting an empty pw as result of pw-less-login
|
||||
if ($password==='') {
|
||||
if ($password === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue