summaryrefslogtreecommitdiffstats
path: root/lib/private/Security/CSRF/TokenStorage/SessionStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Security/CSRF/TokenStorage/SessionStorage.php')
-rw-r--r--lib/private/Security/CSRF/TokenStorage/SessionStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/CSRF/TokenStorage/SessionStorage.php b/lib/private/Security/CSRF/TokenStorage/SessionStorage.php
index d73c8d94206..34adc566bf7 100644
--- a/lib/private/Security/CSRF/TokenStorage/SessionStorage.php
+++ b/lib/private/Security/CSRF/TokenStorage/SessionStorage.php
@@ -60,7 +60,7 @@ class SessionStorage {
*/
public function getToken(): string {
$token = $this->session->get('requesttoken');
- if(empty($token)) {
+ if (empty($token)) {
throw new \Exception('Session does not contain a requesttoken');
}