summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Authentication/Listeners/UserLoggedInListener.php2
-rw-r--r--lib/private/Authentication/Token/PublicKeyTokenProvider.php2
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;
}