@extends('layout.layout') {{-- css --}} @push('links') @endpush {{-- Content --}} @section('content')
@include('component.alert', ['session_name' => 'errorlogin'])
@php $authTab = 'authDB-tab'; if(Session::has('nav')&&Session::get('nav') == 'authCDC-tab'){ $authTab = 'authCDC-tab'; } @endphp
{{csrf_field()}} @include('user::component/login-input', ['name' => 'uid', 'type' => 'text', 'value' => old('uid'), 'placeholder' => '帳號', 'required' => 'required']) @include('user::component/login-input', ['name' => 'password', 'type' => 'password', 'value' => '', 'placeholder' => '密碼', 'required' => 'required'])
@if ($errors->has('captcha')) @foreach($errors->get('captcha') as $error)
{{ $error }}
@endforeach @endif
{{csrf_field()}} @include('user::component/login-input', ['name' => 'idno', 'type' => 'password', 'value' => '', 'placeholder' => '請輸入身分證字號', 'required' => 'required']) @include('user::component/login-input', ['name' => 'pin', 'type' => 'password', 'value' => '', 'placeholder' => '請輸入憑證PIN碼', 'required' => 'required']) @include('user::component/login-input', ['name' => 'tbs', 'type' => 'hidden', 'value' => config('authcdc.tbs'), 'placeholder' => '']) @include('user::component/login-input', ['name' => 'tbsEncoding', 'type' => 'hidden', 'value' => config('authcdc.tbs_encode'), 'placeholder' => '']) @include('user::component/login-input', ['name' => 'hashAlgorithm', 'type' => 'hidden', 'value' => config('authcdc.hash'), 'placeholder' => '']) @include('user::component/login-input', ['name' => 'returnCode', 'type' => 'hidden', 'value' => '', 'placeholder' => ''])
@if ($errors->has('captcha')) @foreach($errors->get('captcha') as $error)
{{ $error }}
@endforeach @endif
@if(!env('TEST_MODE',false)) @else @endif

注意事項:

@endsection {{-- Script --}} @push('scripts') @endpush