From 7103278bb8e6e51754267a450fca9cf227822578 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Fri, 22 Dec 2017 13:54:25 -0600 Subject: [PATCH] Woops, re-add user state check --- app/Services/UserService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/UserService.php b/app/Services/UserService.php index a2f09a41..5c758b25 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -25,11 +25,11 @@ class UserService extends BaseService public function createPilot(User $user) { # Determine if we want to auto accept - /*if(setting('pilot.auto_accept') === true) { + if(setting('pilot.auto_accept') === true) { $user->state = PilotState::ACTIVE; } else { $user->state = PilotState::PENDING; - }*/ + } $user->save();