Skip to content

Commit 15b1097

Browse files
committed
table name into user stdClass object
1 parent e81ee20 commit 15b1097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UserVerification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ protected function getUser($token, $table)
255255
*/
256256
protected function getUserByEmail($email, $table)
257257
{
258-
$user = DB::table($table)->where('email', $email)->first(['id', 'email', 'verified', 'verification_token']);
258+
$user = DB::table($table)->where('email', $email)->first(['id', 'email', 'verified', 'verification_token', 'table']);
259259

260260
if ($user === null) {
261261
throw new UserNotFoundException();

0 commit comments

Comments
 (0)