Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 22, 2025
1 parent 68f44c7 commit a7de828
Show file tree
Hide file tree
Showing 7 changed files with 175 additions and 166 deletions.
322 changes: 165 additions & 157 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/build/assets/app-AERGBBGC.css

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/app-DtCs1_Fm.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions public/build/assets/app-MratX3S_.js

This file was deleted.

5 changes: 5 additions & 0 deletions public/build/assets/app-O62UIZbF.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"resources/css/app.css": {
"file": "assets/app-AERGBBGC.css",
"file": "assets/app-DtCs1_Fm.css",
"src": "resources/css/app.css",
"isEntry": true
},
"resources/js/app.js": {
"file": "assets/app-MratX3S_.js",
"file": "assets/app-O62UIZbF.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true
Expand Down
3 changes: 2 additions & 1 deletion src/Http/Controllers/Auth/NewPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Illuminate\Validation\Rules;
use Illuminate\View\View;
use Orchestra\Workbench\Http\Controllers\Controller;
use Workbench\App\Models\User;

class NewPasswordController extends Controller
{
Expand Down Expand Up @@ -40,7 +41,7 @@ public function store(Request $request): RedirectResponse
// database. Otherwise we will parse the error and return the response.
$status = Password::reset(
$request->only('email', 'password', 'password_confirmation', 'token'),
function ($user) use ($request) {
function (User $user) use ($request) {
$user->forceFill([
'password' => Hash::make($request->password),
'remember_token' => Str::random(60),
Expand Down

0 comments on commit a7de828

Please sign in to comment.