Skip to content

Commit

Permalink
Merge pull request #4 from envor/main
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
inmanturbo authored Feb 12, 2024
2 parents a83906e + 6e3238d commit da50ea3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to `platform` will be documented in this file.

## v1.2.0 - 2024-02-12

### What's Changed

* add some concerns by @inmanturbo in https://github.com/envor/platform/pull/3

**Full Changelog**: https://github.com/envor/platform/compare/v1.0.2...v1.2.0

## v1.0.3 - 2024-02-11

**Full Changelog**: https://github.com/envor/platform/compare/v1.0.0...v1.0.3

## v1.0.2 - 2024-02-09

### What's Changed
Expand Down
13 changes: 13 additions & 0 deletions config/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

return [
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_reset_tokens',
'connection' => env('PLATFORM_DATABASE_CONNECTION', 'sqlite'),
'expire' => 60,
'throttle' => 60,
],
],
];
2 changes: 1 addition & 1 deletion config/platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

// config for Envor/Platform
return [
'platform_database_connection' => env('PLATFORM_DATABASE_CONNECTION', 'platform_sqlite'),
'platform_database_connection' => env('PLATFORM_DB_CONNECTION', 'sqlite'),
];
2 changes: 1 addition & 1 deletion src/PlatformServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public function configurePackage(Package $package): void
*/
$package
->name('platform')
->hasConfigFile(['platform', 'database']);
->hasConfigFile(['platform', 'database', 'auth']);
}
}

0 comments on commit da50ea3

Please sign in to comment.