���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
cutunix-shot
/
app
/
Livewire
/
Site
/
Pages
/
Viewing: ShowUserAuthorization.php
<?php namespace App\Livewire\Site\Pages; use Livewire\Component; use Masmerise\Toaster\Toastable; class ShowUserAuthorization extends Component { use Toastable; public $form = []; protected $rules = [ 'mobile' => ['required'], ]; public function mount() { } public function submit() { $this->error('User with this mobile does not exists!'); return; // $validated = Validator::make([ // 'mobile' => $this->form['mobile'], // ]); // // if ($validated->fails()) { // foreach ($validated->errors()->all() as $error) { // $this->error($error); // } // return; // } // // if ($this->form['job'] == 'سایر') { // $this->form['job'] = $this->otherJob; // } // // auth()->user()->update([ // 'first_name' => $this->form['first_name'] ?? null, // 'last_name' => $this->form['last_name'] ?? null, // 'job' => $this->form['job'] ?? null, // 'email' => $this->form['email'] ?? null, // 'state_id' => $this->form['state_id'], // 'city_id' => $this->form['city_id'] // ]); // // $this->success(trans('container.operation successful')); // // return redirect($this->previous); } public function render() { return view('livewire.site.pages.user.authorization') ->layout('components.layouts.site.app', ['page_name' => 'authorization account']); } public function validateForm() { if ($this->form['first_name'] == null) return back()->error(trans('container.first_name field is required')); if ($this->form['last_name'] == null) return back()->error(trans('container.last_name field is required')); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa