Commit 0d7cde89 authored by Roland Julien's avatar Roland Julien

auto-activation

parent 0e80e5ad
......@@ -51,8 +51,8 @@ class SentinelUserRepository implements UserRepository
$user = $this->user->create($data);
$user->roles()->attach($roles);
$code = Activation::create($user);
Activation::complete($user, $code);
$activation = Activation::create($user);
Activation::complete($user, $activation->code);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment