diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2022-12-19 12:43:51 +0100 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2023-01-02 10:40:08 +0100 |
commit | 64925eca580b670d566e6b1fd7d665ae6e5dd940 (patch) | |
tree | 48b3b69ceb494182b6fbf91e966c6868a0981635 | |
parent | e4e20bf40ad8ca139655b36a6efa2b1710ae50f0 (diff) | |
download | nextcloud-server-64925eca580b670d566e6b1fd7d665ae6e5dd940.tar.gz nextcloud-server-64925eca580b670d566e6b1fd7d665ae6e5dd940.zip |
avoid using the word 'password' in the APP_TOKEN_CREATED activity
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
-rw-r--r-- | apps/settings/lib/Activity/Provider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Activity/Provider.php b/apps/settings/lib/Activity/Provider.php index 85ebd3e2abd..c2ef77f3d9a 100644 --- a/apps/settings/lib/Activity/Provider.php +++ b/apps/settings/lib/Activity/Provider.php @@ -112,9 +112,9 @@ class Provider implements IProvider { $subject = $this->l->t('Your email address was changed by an administrator'); } elseif ($event->getSubject() === self::APP_TOKEN_CREATED) { if ($event->getAffectedUser() === $event->getAuthor()) { - $subject = $this->l->t('You created app password "{token}"'); + $subject = $this->l->t('You created an app password for a session named "{token}"'); } else { - $subject = $this->l->t('An administrator created app password "{token}"'); + $subject = $this->l->t('An administrator created an app password for a session named "{token}"'); } } elseif ($event->getSubject() === self::APP_TOKEN_DELETED) { $subject = $this->l->t('You deleted app password "{token}"'); |