summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-07-16 13:32:44 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-16 13:32:44 +0200
commit565838da9c279fe071a9cdfbfd9cf574893a61f5 (patch)
treeedca999a6b0a1a6ce373850cd57b8b0a2759d61f /lib/private/Authentication
parentc3ef1cd90d215f36edf7236456578a233bc5f3bd (diff)
downloadnextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.tar.gz
nextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.zip
Update unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r--lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php b/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php
index ffddddff1d8..57213a8a191 100644
--- a/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php
+++ b/lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php
@@ -61,7 +61,7 @@ class RemoteWipeNotificationsListener implements IEventListener {
$notification->setApp('auth')
->setUser($token->getUID())
->setDateTime($this->timeFactory->getDateTime())
- ->setObject('token', $token->getId())
+ ->setObject('token', (string) $token->getId())
->setSubject($event, [
'name' => $token->getName(),
]);