Unverified Commit 3f3d24f8 authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #601 from mikemand/hotfix/fix-is-activated

Fix #583: `activated` vs `is_activated`
parents c9543041 9b48bb23
...@@ -260,7 +260,7 @@ class SentinelUserRepository implements UserRepository ...@@ -260,7 +260,7 @@ class SentinelUserRepository implements UserRepository
*/ */
private function checkForManualActivation($user, array &$data) private function checkForManualActivation($user, array &$data)
{ {
if (Activation::completed($user) && !$data['activated']) { if (Activation::completed($user) && !$data['is_activated']) {
return Activation::remove($user); return Activation::remove($user);
} }
......
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