NASER dynamic register for customers
This commit is contained in:
@@ -120,7 +120,9 @@ class AuthController extends Controller
|
||||
|
||||
public function register(Request $request)
|
||||
{
|
||||
|
||||
if($this->Config('open_register') === 'false'){
|
||||
throw new UnprocessableEntityHttpException('امکان ثبتنام وجود ندارد.');
|
||||
}
|
||||
$data = $request->all();
|
||||
$data['type'] = 2;
|
||||
if (isset($data['referral_id'])) {
|
||||
|
||||
Reference in New Issue
Block a user