aboutsummaryrefslogtreecommitdiffstats
path: root/core/Events/PasswordResetEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Events/PasswordResetEvent.php')
-rw-r--r--core/Events/PasswordResetEvent.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Events/PasswordResetEvent.php b/core/Events/PasswordResetEvent.php
index a159c710263..86889951321 100644
--- a/core/Events/PasswordResetEvent.php
+++ b/core/Events/PasswordResetEvent.php
@@ -35,6 +35,13 @@ class PasswordResetEvent extends Event {
}
/**
+ * @since 31.0.0
+ */
+ public function getUid(): string {
+ return $this->user->getUID();
+ }
+
+ /**
* @since 25.0.0
*/
public function getPassword(): string {