Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 6eb0b17

Browse files
committed
feat: initial commit
1 parent 44243c3 commit 6eb0b17

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.3",
19-
"illuminate/support": "^8.0",
20-
"infyomlabs/laravel-generator-helpers": "^3.0",
21-
"laravel/ui": "^3.0"
18+
"php": "^7.2.5",
19+
"illuminate/support": "^7.0",
20+
"infyomlabs/laravel-generator-helpers": "^2.0",
21+
"laravel/ui": "^2.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

src/StislaPreset.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected static function updateWebpackConfiguration()
6969
copy(__DIR__.'/../stisla-stubs/vendors/bootstrap/webpack.mix.js', base_path('webpack.mix.js'));
7070
}
7171

72-
7372
public function installAuth()
7473
{
7574
$viewsPath = LaravelUtils::getViewPath();
@@ -78,9 +77,7 @@ public function installAuth()
7877

7978
$this->scaffoldAuth();
8079

81-
if (! $this->isFortify) {
82-
$this->scaffoldController();
83-
}
80+
$this->scaffoldController();
8481
}
8582

8683
protected function ensureDirectoriesExist($viewsPath)
@@ -143,9 +140,7 @@ protected function scaffoldAuth()
143140

144141
$this->addHomeRoute();
145142

146-
if (! $this->isFortify) {
147-
$this->addAuthRoutes();
148-
}
143+
$this->addAuthRoutes();
149144

150145
tap(new Filesystem(), function ($filesystem) {
151146
$filesystem->copyDirectory(__DIR__.'/../stisla-stubs/views/auth', resource_path('views/auth'));

0 commit comments

Comments
 (0)