1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Covered new invite system with testing

Closes #316
This commit is contained in:
Dan Brown
2019-08-18 13:55:28 +01:00
parent 42d8548960
commit eab0ca9648
2 changed files with 112 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class UserTokenService
}
if ($this->entryExpired($entry)) {
throw new UserTokenExpiredException("Token of id {$token->id} has expired.", $entry->user_id);
throw new UserTokenExpiredException("Token of id {$entry->id} has expired.", $entry->user_id);
}
return $entry->user_id;