⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.134
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
card.smartech-hub.com
/
app
/
View File Name :
User.php
<?php /* |-------------------------------------------------------------------------- | GoBiz vCard SaaS |-------------------------------------------------------------------------- | Developed by NativeCode © 2021 - https://nativecode.in | All rights reserved | Unauthorized distribution is prohibited |-------------------------------------------------------------------------- */ namespace App; use Illuminate\Support\Facades\DB; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use ProtoneMedia\LaravelVerifyNewEmail\MustVerifyNewEmail; class User extends Authenticatable implements MustVerifyEmail { use MustVerifyNewEmail, Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'user_id', 'profile_image', 'name', 'email', 'mobile_number', 'email_verified_at', 'auth_type', 'password', 'auth_token', 'device_token', ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function roles() { return $this->belongsTo('App\Role'); } // Send new email verification public function sendEmailVerificationNotification() { // Queries $config = DB::table('config')->get(); // Check email verification system is enabled if ($config[43]->config_value == '1') { try { $this->newEmail($this->getEmailForVerification()); } catch (\Throwable $th) { return false; } } } }