@extends('layouts.auth') @section('title', __('Login')) @section('content')

{{ __('Welcome back') }} 👋

{{ __('Login to continue learning.') }}

@csrf
{{ __('Forgot password?') }}
{{-- Demo chips: always on a demo site (APP_DEMO=true), otherwise only outside production and while the switch is on. --}} @if((config('app.demo') || config('app.env') !== 'production') && setting('show_demo_credentials', '1') === '1') @php($lfDemoAccounts = collect(config('learnify.demo_accounts', [])) ->map(fn ($a) => [$a['email'], $a['icon'], __($a['role']), __($a['description'])]))
{{ __('Demo') }}
{{ __('Try it without signing up') }} {{ __('Pick a role and you are signed in. Password for all:') }} {{ config('learnify.demo_password') }}
@foreach($lfDemoAccounts as [$email, $icon, $role, $desc]) @endforeach
@endif
@include('partials.sso-buttons')

{{ __("Don't have an account?") }} {{ __('Create one free') }}

@endsection