Changeset c5e383e for app


Ignore:
Timestamp:
12/26/21 18:31:54 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
master
Parents:
62d01a6
Message:

added db and storage backup

Location:
app
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • app/Console/Kernel.php

    r62d01a6 rc5e383e  
    2626    {
    2727        // $schedule->command('inspire')->hourly();
     28        //$schedule->command('backup:clean')->daily()->at('17:00');
     29        $schedule->command('backup:run')->daily()->at('08:00');
    2830    }
    2931
  • app/Http/Controllers/Auth/CreatePasswordController.php

    r62d01a6 rc5e383e  
    1616    public function showCreatePassword($id, $token)
    1717    {
    18         return view("auth.create_password")->with([
     18        return view("auth.new_password")->with([
    1919            "id" => $id,
    2020            "token" => $token
  • app/Http/Controllers/Auth/LoginController.php

    r62d01a6 rc5e383e  
    4545        }
    4646
    47         //$user->security_code = rand(10000, 99999);
     47        $user->security_code = rand(10000, 99999);
    4848        if ($user->is_forgot_password) {
    4949            $user->is_forgot_password = false;
    5050        }
    5151
    52             $user->security_code = 1234;
     52            //$user->security_code = 1234;
    5353            $user->verify_token = Str::uuid();
    5454            $user->is_online = true;
  • app/Http/Controllers/Dashboard/DepartmentsController.php

    r62d01a6 rc5e383e  
    2323    {
    2424        return view("dashboard.departments.index")->with([
    25             "departments" => Department::all(),
     25            "departments" => Department::all()
    2626        ]);
    2727    }
  • app/Models/Department.php

    r62d01a6 rc5e383e  
    2626        return $this->belongsTo(User::class);
    2727    }
    28 
    2928}
  • app/Notifications/ForgotPassword.php

    r62d01a6 rc5e383e  
    4545        return (new MailMessage)
    4646                    ->greeting("Hello " . $this->user->name)
    47                     ->line("To create or change your password click on the button")
     47                    ->line("To change your password click on the button")
    4848                    ->line("Your security code is: " . $this->user->security_code )
    49                     ->action("Create 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));
    5050    }
    5151
  • app/Notifications/WelcomeUser.php

    r62d01a6 rc5e383e  
    5050            ->line("To create password for your account just click the button then create something good. :))")
    5151            ->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));
    5353    }
    5454
Note: See TracChangeset for help on using the changeset viewer.