diff --git a/.env b/.env index 1935208b..8558c048 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ APP_NAME=schoolary APP_ENV=local -APP_KEY=base64:7IvVZVZNlhJFLk6CxOj8ves1PASonAvrZdZIERyzGEM= +APP_KEY=base64:Ueaq44igk8UUHzHekptVp+o3l/hON2xpXAsHY/xidjM= APP_DEBUG=true APP_URL=http://localhost diff --git a/README.md b/README.md index 703aa420..8c90d153 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ docker exec -it app sh ↳php artisan migrate:fresh --seed -login: admin@puccampinas.edu.br +login: secretaria@puccampinas.edu.br senha: password Utilizar: http://localhost:8080/ diff --git a/composer.lock b/composer.lock index c07e5d1a..8de6f412 100644 --- a/composer.lock +++ b/composer.lock @@ -536,7 +536,7 @@ "authors": [ { "name": "Edward Z. Yang", - "email": "admin@htmlpurifier.org", + "email": "secretaria@htmlpurifier.org", "homepage": "http://ezyang.com" } ], diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 137ea24b..3006460d 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -36,7 +36,7 @@ public function definition() 'city' => 'Dhaka', 'zip' => '32545', 'Foto' => null, - 'role' => 'admin', + 'role' => 'secretaria', ]; } diff --git a/database/seeders/PermissionSeeder.php b/database/seeders/PermissionSeeder.php index 18b164ab..9d1239a8 100644 --- a/database/seeders/PermissionSeeder.php +++ b/database/seeders/PermissionSeeder.php @@ -102,7 +102,7 @@ public function run() // Permission::create(['name' => 'delete sections']); $user = \App\Models\User::factory()->create([ - 'email' => 'admin@puccampinas.edu.br', + 'email' => 'secretaria@puccampinas.edu.br', 'primeiro_nome' => 'Leandro', 'sobrenome' => 'Xastre' ]); diff --git a/resources/views/exams/index.blade.php b/resources/views/exams/index.blade.php index 86439071..ef9851de 100644 --- a/resources/views/exams/index.blade.php +++ b/resources/views/exams/index.blade.php @@ -55,7 +55,7 @@
@foreach ($exams as $exam) - @if (Auth::user()->role == "admin") + @if (Auth::user()->role == "secretaria")- alunos must be promoted only once to a new Session. Ususally, admin will create a New Session once Academic activity ends for the Current Session. + alunos must be promoted only once to a new Session. Ususally, secretaria will create a New Session once Academic activity ends for the Current Session.