Skip to content

Commit

Permalink
Update OCP
Browse files Browse the repository at this point in the history
  • Loading branch information
nextcloud-command committed Nov 29, 2024
1 parent de0785b commit e818fb7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions OCP/AppFramework/Http/Attribute/PasswordConfirmationRequired.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,21 @@
*/
#[Attribute]
class PasswordConfirmationRequired {
/**
* @param bool $strict - Whether password confirmation needs to happen in the request.
*
* @since 31.0.0
*/
public function __construct(
protected bool $strict = false,
) {
}

/**
* @since 31.0.0
*/
public function getStrict(): bool {
return $this->strict;
}

}

0 comments on commit e818fb7

Please sign in to comment.