Skip to content

Commit 3b6324c

Browse files
author
Sandip Patel
committed
package updated
1 parent 86d1bb2 commit 3b6324c

8 files changed

+0
-220
lines changed

src/Middleware/AdminAuthenticated.php

-29
This file was deleted.

src/Middleware/RedirectIfAuthenticated.php

-35
This file was deleted.

src/Middleware/UserAuthenticated.php

-34
This file was deleted.

src/Migrations/2014_10_12_000000_create_users_table.php

-36
This file was deleted.

src/Migrations/2014_10_12_100000_create_password_resets_table.php

-32
This file was deleted.

src/Model/BaseUser.php

-37
This file was deleted.

src/ServiceProvider.php

-8
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,5 @@ public function boot()
5555
$this->publishes([
5656
__DIR__. '/config.php' => config_path('modules.php')
5757
]);
58-
59-
// check if authentication module is on
60-
if( config('modules.auth.enabled') )
61-
{
62-
$this->aliasMiddleware('guest', Middleware\RedirectIfAuthenticated::class);
63-
$this->aliasMiddleware('admin', Middleware\AdminAuthenticated::class);
64-
$this->aliasMiddleware('user', Middleware\UserAuthenticated::class);
65-
}
6658
}
6759
}

src/config.php

-9
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@
77
*/
88

99
return [
10-
11-
// Authentication related settings
12-
'auth' => [
13-
'enabled' => false,
14-
'user_redirect_route' => 'user_dashboard',
15-
'admin_redirect_route' => 'admin_dashboard'
16-
],
17-
18-
// List of enabled modules
1910
'enabled' => [
2011

2112
]

0 commit comments

Comments
 (0)