Skip to content

Commit 4e72345

Browse files
committed
v1.0.1
1 parent 97973f6 commit 4e72345

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.1 - 2023-11-26
4+
5+
- Fix forgotPassword route
6+
37
## 1.0.0 - 2023-11-25
48

59
- Initial release

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This package allows you to authenticate users via a Nylo Flutter app.
44

5-
Check out the Flutter package here to install the ui on your app: [laravel_nylo_auth](https://pub.dev/packages/laravel_auth_slate).
5+
Check out the Flutter package here to install the UI on your app: [laravel_nylo_auth](https://pub.dev/packages/laravel_auth_slate).
66

77
## Installation
88

@@ -12,7 +12,7 @@ You can install the package via composer:
1212
composer require nylo/laravel-nylo-auth
1313
```
1414

15-
You can publish and run the migrations with:
15+
You can publish with:
1616

1717
``` bash
1818
php artisan vendor:publish --provider="Nylo\LaravelNyloAuth\LaravelNyloAuthServiceProvider"

routes/web.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
], function() {
1313
Route::post('login', [AuthController::class, 'login'])->name('login');
1414
Route::post('register', [AuthController::class, 'register'])->name('register');
15-
Route::post('forget-password', [AuthController::class, 'forgetPassword'])->name('forget-password');
15+
Route::post('forgot-password', [AuthController::class, 'forgotPassword'])->name('forget-password');
1616

1717
Route::group([
1818
'middleware' => 'auth:sanctum',

src/Http/Controllers/stubs/AuthController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function register(RegisterRequest $request)
7272
* @param \Nylo\LaravelNyloAuth\Http\Requests\ForgotPasswordRequest $request
7373
* @return \Illuminate\Http\JsonResponse
7474
*/
75-
public function forgetPassword(ForgotPasswordRequest $request)
75+
public function forgotPassword(ForgotPasswordRequest $request)
7676
{
7777
$status = Password::sendResetLink(
7878
$request->only('email')

0 commit comments

Comments
 (0)