One Hat Cyber Team
Your IP :
18.216.131.153
Server IP :
87.118.122.21
Server :
Linux svdm-server5.de 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
users
/
svd-saarleute
/
www
/
_go_biz
/
app
/
Edit File:
User.php
<?php 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' ]; /** * 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; } } } }
Simpan