aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/ClientFlowLoginController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/ClientFlowLoginController.php')
-rw-r--r--core/Controller/ClientFlowLoginController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index 0e7fbf892b6..23bd42a0f18 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -115,7 +115,7 @@ class ClientFlowLoginController extends Controller {
*/
private function getClientName() {
$userAgent = $this->request->getHeader('USER_AGENT');
- return $userAgent !== null ? $userAgent : 'unknown';
+ return $userAgent !== '' ? $userAgent : 'unknown';
}
/**