diff options
author | Tobias Assmann <tobias.assmann@ecsec.de> | 2021-07-16 13:33:29 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-10-08 08:08:28 +0200 |
commit | 4a174617eb822af73b556f9330f557986c1422a7 (patch) | |
tree | 3ba14e79e1b17eb0c0bb8e823e5c3d67e578d755 /lib/private/Authentication | |
parent | 4fd1b09a600a90d37d8f0e6d7721e2a09b38f429 (diff) | |
download | nextcloud-server-4a174617eb822af73b556f9330f557986c1422a7.tar.gz nextcloud-server-4a174617eb822af73b556f9330f557986c1422a7.zip |
add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r-- | lib/private/Authentication/Listeners/UserLoggedInListener.php | 2 | ||||
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenProvider.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Authentication/Listeners/UserLoggedInListener.php b/lib/private/Authentication/Listeners/UserLoggedInListener.php index d0ad8e2e838..15d34494276 100644 --- a/lib/private/Authentication/Listeners/UserLoggedInListener.php +++ b/lib/private/Authentication/Listeners/UserLoggedInListener.php @@ -50,7 +50,7 @@ class UserLoggedInListener implements IEventListener { } // prevent setting an empty pw as result of pw-less-login - if ($event->getPassword()==='') { + if ($event->getPassword() === '') { return; } diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index 222e5cba099..4657a802767 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -415,7 +415,7 @@ class PublicKeyTokenProvider implements IProvider { $this->cache->clear(); // prevent setting an empty pw as result of pw-less-login - if ($password==='') { + if ($password === '') { return; } |