NASER fix conflicts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\Http\Controllers\Admin\TahesabController;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Cnt;
|
||||
use App\Models\Customer;
|
||||
@@ -160,6 +161,12 @@ class AuthController extends Controller
|
||||
$data['active'] = true;
|
||||
// Create customer
|
||||
$customer = Customer::create($data);
|
||||
|
||||
// $tah = new TahesabController();
|
||||
// return $tah->store([
|
||||
// 'customer_id' => $customer->id,
|
||||
// ]);
|
||||
|
||||
$message = "{$data['name']} عزیز، اکانت شما در پلتفرم {$this->Config('name_fa')} ایجاد شد.\nنام کاربری: {$data['mobile']}\n\nورود به نرم افزار:\n{$this->Config('app_url')}";
|
||||
$this->Send($data['mobile'], $message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user