Skip to content

Commit

Permalink
Merge pull request #1170 from verenaroe/fix-guest-user-uniqueness
Browse files Browse the repository at this point in the history
set guest in users table
  • Loading branch information
tobias-kuendig authored Sep 13, 2024
2 parents 7d29860 + ba35cb8 commit eb450fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/customer/DefaultSignUpHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ protected function createUser($data, $requiresConfirmation)
$data['email'] = $data['email'];
$data['password'] = $data['password'];
$data['password_confirmation'] = $data['password_repeat'];
$data['is_guest'] = $this->asGuest;

// RainLab.User 3.0
if (class_exists(\RainLab\User\Models\Setting::class)) {
Expand Down

0 comments on commit eb450fa

Please sign in to comment.