Skip to content

Commit b316fdf

Browse files
committed
fixup! Fix app password updating out of bounds
1 parent 984148a commit b316fdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/private/Authentication/Listeners/UserLoggedInListener.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
declare(strict_types=1);
34
/**
45
* @copyright Copyright (c) 2020, Roeland Jago Douma <roeland@famdouma.nl>
@@ -30,6 +31,7 @@
3031
use OCP\User\Events\PostLoginEvent;
3132

3233
class UserLoggedInListener implements IEventListener {
34+
3335
/** @var Manager */
3436
private $manager;
3537

@@ -49,5 +51,4 @@ public function handle(Event $event): void {
4951

5052
$this->manager->updatePasswords($event->getUser()->getUID(), $event->getPassword());
5153
}
52-
5354
}

0 commit comments

Comments
 (0)