芝麻web文件管理V1.00
编辑当前文件:/home/palsarh/web/palsarh.in/public_html/app/Models/PasswordController.php
validateWithBag('updatePassword', [ 'current_password' => ['required', 'current_password'], 'password' => ['required', Password::defaults(), 'confirmed'], ]); $request->user()->update([ 'password' => Hash::make($validated['password']), ]); return back()->with('status', 'password-updated'); } }