Skip to content

Commit

Permalink
Fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimot24 committed Sep 2, 2024
1 parent 7b706f2 commit ab23d63
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .phpunit.result.cache

This file was deleted.

2 changes: 1 addition & 1 deletion app/Model/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac

public static $rules = [
'name' => 'required',
'email' => 'required|email|unique',
'email' => 'required|email|unique:users',
'password' => 'required|confirmed|min:6'
];

Expand Down
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
],

'mongodb' => [
'alias' = 'Mongo',
'alias' => 'Mongo',
'driver' => 'mongodb',
'dsn' => 'mongodb+srv://'.env('DB_USERNAME', 'forge').':'.env('DB_PASSSWORD', 'forge').'@'.env('DB_HOST', 'localhost').':'.env('DB_PORT', '27017'),
'database' => env('DB_DATABASE', 'forge'),
Expand Down

0 comments on commit ab23d63

Please sign in to comment.