Skip to content

Commit

Permalink
fixup! feat: Use inline password confirmation in external storage set…
Browse files Browse the repository at this point in the history
…tings
  • Loading branch information
artonge committed Nov 28, 2024
1 parent 98788b8 commit d6fdeff
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
use OCP\Authentication\Exceptions\ExpiredTokenException;
use OCP\Authentication\Exceptions\InvalidTokenException;
use OCP\Authentication\Exceptions\WipeTokenException;
use OCP\IRequest;
use OCP\ISession;
use OCP\IUserSession;
use OCP\Session\Exceptions\SessionNotAvailableException;
Expand All @@ -51,11 +52,14 @@ class PasswordConfirmationMiddleware extends Middleware {
* @param IUserSession $userSession
* @param ITimeFactory $timeFactory
*/
public function __construct(ControllerMethodReflector $reflector,
ISession $session,
IUserSession $userSession,
ITimeFactory $timeFactory,
IProvider $tokenProvider,
public function __construct(
private ControllerMethodReflector $reflector,
private ISession $session,
private IUserSession $userSession,
private ITimeFactory $timeFactory,
private IProvider $tokenProvider,
private readonly IRequest $request,
private readonly Manager $userManager,
) {
}

Expand Down

0 comments on commit d6fdeff

Please sign in to comment.