@extends('layouts.auth') @php $showDemo = config('infotics.demo.show_credentials') || config('infotics.demo.seed'); $intended = session('url.intended'); $demo = $showDemo ? [ ['Learner', 'student01@demo.infotics.local'], ['Trainer', optional(\App\Models\User::where('role', 'trainer')->orderBy('id')->first())->email], ['Employer', 'employer@demo.infotics.local'], ['Admin', 'admin@infotics.edu.pk'], ] : []; @endphp @section('content') @include('auth._mbrand')

Welcome back

Log in to your learner, trainer or employer portal.

@if($intended)
Please log in to continue to the page you asked for.
@endif
@csrf
@error('email')@enderror
@include('auth._password', ['name' => 'password', 'label' => 'Password', 'autocomplete' => 'current-password'])
Forgot password?

New to INFOTICS? Create a learner account

@if($demo)
Demo accounts (demo mode is on)
@foreach($demo as [$role, $mail]) @if($mail)@endif @endforeach
Password for every demo account: ChangeMe!123. Click a role to fill the form.
@endif @endsection @push('scripts')@endpush