Skip to content

Commit

Permalink
Fixed User file directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DCzajkowski committed Sep 11, 2020
1 parent f08a5f8 commit 7caad3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/tests-with-email-verification
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ php artisan make:auth-tests
# Prepare for running tests
sed -i 's#<server name="SESSION_DRIVER" value="array"/>#<server name="SESSION_DRIVER" value="array"/><server name="DB_CONNECTION" value="sqlite"/><server name="DB_DATABASE" value=":memory:"/>#g' phpunit.xml
sed -i $'s#Auth::routes();#Auth::routes(\[\'verify\' => true\]);#g' ./routes/web.php
sed -i 's#extends Authenticatable#extends Authenticatable implements MustVerifyEmail#g' ./app/User.php
sed -i 's#extends Authenticatable#extends Authenticatable implements MustVerifyEmail#g' ./app/Modles/User.php
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you want to use the e-mail verification feature, you will have to make follow
- Auth::routes();
+ Auth::routes(['verify' => true]);
```
- update `app/User.php`:
- update `app/Models/User.php`:
```diff
- class User extends Authenticatable
+ class User extends Authenticatable implements MustVerifyEmail
Expand Down

0 comments on commit 7caad3e

Please sign in to comment.