Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: laravel/breeze
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.0
Choose a base ref
...
head repository: laravel/breeze
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 13, 2022

  1. Copy the full SHA
    37ecef8 View commit details

Commits on Jan 25, 2022

  1. Copy the full SHA
    671c552 View commit details
2 changes: 1 addition & 1 deletion .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ jobs:
- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
latest-version: ${{ github.event.release.tag_name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
12 changes: 7 additions & 5 deletions stubs/api/App/Http/Controllers/Auth/NewPasswordController.php
Original file line number Diff line number Diff line change
@@ -44,10 +44,12 @@ function ($user) use ($request) {
}
);

return $status == Password::PASSWORD_RESET
? response()->json(['status' => __($status)])
: throw ValidationException::withMessages([
'email' => [__($status)],
]);
if ($status != Password::PASSWORD_RESET) {
throw ValidationException::withMessages([
'email' => [__($status)],
]);
}

return response()->json(['status' => __($status)]);
}
}
Original file line number Diff line number Diff line change
@@ -30,10 +30,12 @@ public function store(Request $request)
$request->only('email')
);

return $status == Password::RESET_LINK_SENT
? response()->json(['status' => __($status)])
: throw ValidationException::withMessages([
'email' => [__($status)],
]);
if ($status != Password::RESET_LINK_SENT) {
throw ValidationException::withMessages([
'email' => [__($status)],
]);
}

return response()->json(['status' => __($status)]);
}
}