Skip to content

Commit

Permalink
Merge branch 'refs/heads/0.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Jun 28, 2024
2 parents 68a62a1 + 29b0195 commit 020ff39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Http\Controllers\Auth;

use App\Hashing\TwHasher;
use App\Http\Controllers\Controller;
use App\Models\Role;
use App\Models\Tenant;
Expand Down Expand Up @@ -69,7 +70,7 @@ protected function create(array $data)
$user = User::create([
'name' => $data['name'],
'email' => $data['email'],
'password' => bcrypt($data['password']),
'password' => TwHasher::hash($data['password']),
]);

$tenant = Tenant::create(['name' => Str::random()]);
Expand Down

0 comments on commit 020ff39

Please sign in to comment.