aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User/Events/PasswordUpdatedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User/Events/PasswordUpdatedEvent.php')
-rw-r--r--lib/public/User/Events/PasswordUpdatedEvent.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/User/Events/PasswordUpdatedEvent.php b/lib/public/User/Events/PasswordUpdatedEvent.php
index 948b69e54b7..d3fd8f078fe 100644
--- a/lib/public/User/Events/PasswordUpdatedEvent.php
+++ b/lib/public/User/Events/PasswordUpdatedEvent.php
@@ -50,6 +50,13 @@ class PasswordUpdatedEvent extends Event {
}
/**
+ * @since 31.0.0
+ */
+ public function getUid(): string {
+ return $this->user->getUID();
+ }
+
+ /**
* @return string
* @since 18.0.0
*/