mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
correct auth in blade
This commit is contained in:
@@ -23,9 +23,9 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
|
||||
Nova::withoutThemeSwitcher();
|
||||
|
||||
// login with user id 1, if we are in local environment
|
||||
if (app()->environment('local')) {
|
||||
auth()->loginUsingId(1);
|
||||
}
|
||||
// if (app()->environment('local')) {
|
||||
// auth()->loginUsingId(1);
|
||||
// }
|
||||
|
||||
Nova::footer(function ($request) {
|
||||
// return MIT license and date
|
||||
|
||||
Reference in New Issue
Block a user