- Timestamp:
- 12/26/21 18:31:54 (3 years ago)
- Branches:
- master
- Parents:
- 62d01a6
- Location:
- app
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Console/Kernel.php
r62d01a6 rc5e383e 26 26 { 27 27 // $schedule->command('inspire')->hourly(); 28 //$schedule->command('backup:clean')->daily()->at('17:00'); 29 $schedule->command('backup:run')->daily()->at('08:00'); 28 30 } 29 31 -
app/Http/Controllers/Auth/CreatePasswordController.php
r62d01a6 rc5e383e 16 16 public function showCreatePassword($id, $token) 17 17 { 18 return view("auth. create_password")->with([18 return view("auth.new_password")->with([ 19 19 "id" => $id, 20 20 "token" => $token -
app/Http/Controllers/Auth/LoginController.php
r62d01a6 rc5e383e 45 45 } 46 46 47 //$user->security_code = rand(10000, 99999);47 $user->security_code = rand(10000, 99999); 48 48 if ($user->is_forgot_password) { 49 49 $user->is_forgot_password = false; 50 50 } 51 51 52 $user->security_code = 1234;52 //$user->security_code = 1234; 53 53 $user->verify_token = Str::uuid(); 54 54 $user->is_online = true; -
app/Http/Controllers/Dashboard/DepartmentsController.php
r62d01a6 rc5e383e 23 23 { 24 24 return view("dashboard.departments.index")->with([ 25 "departments" => Department::all() ,25 "departments" => Department::all() 26 26 ]); 27 27 } -
app/Models/Department.php
r62d01a6 rc5e383e 26 26 return $this->belongsTo(User::class); 27 27 } 28 29 28 } -
app/Notifications/ForgotPassword.php
r62d01a6 rc5e383e 45 45 return (new MailMessage) 46 46 ->greeting("Hello " . $this->user->name) 47 ->line("To c reate or change your password click on the button")47 ->line("To change your password click on the button") 48 48 ->line("Your security code is: " . $this->user->security_code ) 49 ->action("C reate Password", url("/auth/create-password/" . $this->user->id . "/" . $this->user->verify_token));49 ->action("Change Password", url("/auth/new-password/" . $this->user->id . "/" . $this->user->verify_token)); 50 50 } 51 51 -
app/Notifications/WelcomeUser.php
r62d01a6 rc5e383e 50 50 ->line("To create password for your account just click the button then create something good. :))") 51 51 ->line("NOTE: You have only 3 hours to create your password.") 52 ->action("Create Password", url("/auth/ create-password/" . $this->user->id . "/" . $this->user->verify_token));52 ->action("Create Password", url("/auth/new-password/" . $this->user->id . "/" . $this->user->verify_token)); 53 53 } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.