We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b3382 commit 4fbefc8Copy full SHA for 4fbefc8
src/Ubiquity/controllers/auth/traits/AuthAccountRecoveryTrait.php
@@ -262,7 +262,7 @@ protected function prepareEmailAccountRecovery(string $email){
262
public function recoverySubmit(){
263
if(URequest::isPost() && URequest::has('key')){
264
$isValid=false;
265
- $msg='This account recovery link is expired!';
+ $msg='This account recovery link is invalid!';
266
$tokens = $this->getAuthTokensAccountRecovery();
267
$key=URequest::post('key');
268
if ($tokens->exists($key)) {
@@ -279,6 +279,8 @@ public function recoverySubmit(){
279
$msg='An error occurs when updating your password!';
280
}
281
282
+ }else{
283
+ $msg='This account recovery link is expired!';
284
285
$tokens->remove($key);
286
0 commit comments