diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index c366547f9b54..e7b08bf612f9 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -725,10 +725,16 @@ class AccountController extends BaseController { $affiliate = Affiliate::where('affiliate_key', '=', SELF_HOST_AFFILIATE_KEY)->first(); + $email = trim(Input::get('email')); + + if (!$email || $email == 'user@example.com') { + return RESULT_SUCCESS; + } + $license = new License(); $license->first_name = Input::get('first_name'); $license->last_name = Input::get('last_name'); - $license->email = Input::get('email'); + $license->email = $email; $license->transaction_reference = Request::getClientIp(); $license->license_key = Utils::generateLicense(); $license->affiliate_id = $affiliate->id; @@ -736,7 +742,7 @@ class AccountController extends BaseController $license->is_claimed = 1; $license->save(); - return ''; + return RESULT_SUCCESS; } public function cancelAccount() diff --git a/public/css/built.css b/public/css/built.css index fad32faf1baa..34b170e8e1ca 100644 --- a/public/css/built.css +++ b/public/css/built.css @@ -3273,7 +3273,7 @@ button .glyphicon { background-color: #4b4b4b; padding-bottom: 40px; padding-right: 25px; - /*opacity:0.96 !important;*/ + opacity:0.95 !important; } .pro-plan-modal .left-side { diff --git a/public/css/style.css b/public/css/style.css index 0eab05ed1dc8..736d63d1072b 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -889,7 +889,7 @@ button .glyphicon { background-color: #4b4b4b; padding-bottom: 40px; padding-right: 25px; - /*opacity:0.96 !important;*/ + opacity:0.95 !important; } .pro-plan-modal .left-side { diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 75aa370ae637..f9ca8ea3da8f 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -388,22 +388,18 @@ -