Skip to content

Commit 28336e4

Browse files
author
Arif Hoque
committed
v2.0.4
1 parent 612ad94 commit 28336e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Phaseolies/Console/Commands/MakeAuthCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ private function getWelcomeView(): string
173173
<div class="content text-center">
174174
<p style="font-weight: 700; font-size:20px">{{ trans('messages.welcome', ['version' => \Phaseolies\Application::VERSION]) }}</p>
175175
<div class="buttons">
176-
<a href="https://github.com/techmahedy/doppar" class="btn btn-light" style="background: #D3D4D5">Github</a>
177-
<a href="https://github.com/techmahedy/doppar" class="btn btn-light"
176+
<a href="https://github.com/doppar/doppar" class="btn btn-light" style="background: #D3D4D5">Github</a>
177+
<a href="https://github.com/doppar/doppar" class="btn btn-light"
178178
style="background: #D3D4D5">Documentation</a>
179179
</div>
180180
</div>

src/Phaseolies/Middleware/CsrfTokenMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function shouldAddXsrfTokenCookie($request): bool
159159
*/
160160
protected function handleError(Request $request, string $message): Response
161161
{
162-
if ($request->isAjax() || $request->is('/api/*') || $request->acceptsJson()) {
162+
if ($request->isAjax() || $request->is('/api/*') || $request->wantsJson()) {
163163
throw new HttpResponseException(
164164
$message,
165165
Response::HTTP_UNAUTHORIZED

0 commit comments

Comments
 (0)