diff options
Diffstat (limited to 'core/Events/BeforePasswordResetEvent.php')
-rw-r--r-- | core/Events/BeforePasswordResetEvent.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Events/BeforePasswordResetEvent.php b/core/Events/BeforePasswordResetEvent.php index bd437479150..428ebfeefad 100644 --- a/core/Events/BeforePasswordResetEvent.php +++ b/core/Events/BeforePasswordResetEvent.php @@ -35,6 +35,13 @@ class BeforePasswordResetEvent extends Event { } /** + * @since 31.0.0 + */ + public function getUid(): string { + return $this->user->getUID(); + } + + /** * @since 25.0.0 */ public function getPassword(): string { |