PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
breeze
/
stubs
/
inertia-common
/
app
/
Http
/
Controllers
/
Auth
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Validation\Rules\Password; class PasswordController extends Controller { /** * Update the user's password. */ public function update(Request $request): RedirectResponse { $validated = $request->validate([ 'current_password' => ['required', 'current_password'], 'password' => ['required', Password::defaults(), 'confirmed'], ]); $request->user()->update([ 'password' => Hash::make($validated['password']), ]); return back(); } }
[-] AuthenticatedSessionController.php
[edit]
[-] PasswordController.php
[edit]
[-] RegisteredUserController.php
[edit]
[-] ConfirmablePasswordController.php
[edit]
[-] VerifyEmailController.php
[edit]
[-] EmailVerificationPromptController.php
[edit]
[+]
..
[-] NewPasswordController.php
[edit]
[-] EmailVerificationNotificationController.php
[edit]
[-] PasswordResetLinkController.php
[edit]