mirror of
https://github.com/flarum/core.git
synced 2025-07-24 10:11:43 +02:00
Fix incorrect login after confirming token
This commit is contained in:
@@ -19,7 +19,7 @@ class ConfirmEmailCommandHandler
|
||||
|
||||
public function handle($command)
|
||||
{
|
||||
$token = EmailToken::find($command->token)->first();
|
||||
$token = EmailToken::find($command->token);
|
||||
|
||||
if (! $token) {
|
||||
throw new InvalidConfirmationTokenException;
|
||||
|
Reference in New Issue
Block a user