diff options
author | Nassim Bounouas <NassimBounouas@users.noreply.github.com> | 2019-12-18 09:59:00 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 09:59:00 +0100 |
commit | f88ee4a9523bf3c4a61a45832963c558aed4d0b1 (patch) | |
tree | 02688f6dbb578376f870687a3119538b07b5996f /client/src/app/login/login.component.ts | |
parent | ae05c9912555ef29e1fe14ba34ac9d8381547939 (diff) | |
download | PeerTube-f88ee4a9523bf3c4a61a45832963c558aed4d0b1.tar.gz PeerTube-f88ee4a9523bf3c4a61a45832963c558aed4d0b1.tar.zst PeerTube-f88ee4a9523bf3c4a61a45832963c558aed4d0b1.zip |
Feature/password reset link expiration (#2305)
* #1928 Add a sentence indicating the reset time limit on form and email
* #1928 Customizable password reset lifetime
* #1928 Add a route to verify reset link and call it on reset form init
* Revert "#1928 Customizable password reset lifetime"
This reverts commit 0ed97453f8e64e31a723cc6740b251a69a57d658.
* #1928 Reset password lifetime hardcoded to one hour
* Remove useless modifications for #1928
Diffstat (limited to 'client/src/app/login/login.component.ts')
-rw-r--r-- | client/src/app/login/login.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index 12c631107..911b9982f 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts | |||
@@ -78,7 +78,7 @@ export class LoginComponent extends FormReactive implements OnInit { | |||
78 | .subscribe( | 78 | .subscribe( |
79 | () => { | 79 | () => { |
80 | const message = this.i18n( | 80 | const message = this.i18n( |
81 | 'An email with the reset password instructions will be sent to {{email}}.', | 81 | 'An email with the reset password instructions will be sent to {{email}}. The link will expire within 1 hour.', |
82 | { email: this.forgotPasswordEmail } | 82 | { email: this.forgotPasswordEmail } |
83 | ) | 83 | ) |
84 | this.notifier.success(message) | 84 | this.notifier.success(message) |