Ignore:
Timestamp:
10/25/21 21:49:53 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
e756bd9
Parents:
05e57e2
Message:

added 2fa, bug fixes, edited blades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/auth/login.blade.php

    r05e57e2 r1c25bcf  
    77    <!-- logo -->
    88    <div id="logo">
    9         <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">
     9        <img class="logo" width="150" src="{{ url('assets/media/images/logo.png') }}" alt="image">
    1010     </div>
    1111    <!-- ./ logo -->
     
    1515    <!-- form -->
    1616    <form action="{{ route("auth.login") }}" method="post" accept-charset="utf-8">
     17
    1718        @csrf
    18         @if(Session::has('isActiveError'))
    19             <div class="alert alert-danger alert-dismissible fade show" role="alert">
    20                 <strong> {{ Session::get('isActiveError') }} </strong>
    21                 <button type="button" class="close" data-dismiss="alert" aria-label="Close"></button>
    22             </div>
    23         @endif
    2419
    25         @if(Session::has('loginError'))
    2620            <div class="alert alert-error fade show" role="alert">
    27                 <strong> {{ Session::get('loginError') }} </strong>
    2821                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
    2922                </button>
    3023            </div>
    31         @endif
    3224        <div class="form-group">
    33             <input id="username" type="text" tabindex="1" class="form-control{{ Session::has('usernameError') ? ' is-invalid' : '' }}" value="{{ old('username') }}" name="username" placeholder="Username" autocomplete="off" required autofocus>
    34             @if(Session::has('usernameError'))
     25            <input id="username" type="text" tabindex="1" class="form-control" value="{{ old('username') }}" name="username" placeholder="Username" autocomplete="off" required autofocus>
    3526                <span class="invalid-feedback" role="alert">
    36                     <strong>{{ Session::get('usernameError') }}</strong>
    3727                </span>
    38             @endif
    3928        </div>
    4029
    4130        <div class="form-group">
    42             <input id="password" type="password" tabindex="2" class="form-control{{ Session::has('passwordError') ? ' is-invalid' : '' }}" name="password" autocomplete="off" placeholder="Password" required>
    43             @if(Session::has('passwordError'))
     31            <input id="password" type="password" tabindex="2" class="form-control" name="password" autocomplete="off" placeholder="Password" required>
    4432                <span class="invalid-feedback" role="alert">
    45                     <strong>{{ Session::get('passwordError') }}</strong>
    4633                </span>
    47             @endif
    4834        </div>
    4935
Note: See TracChangeset for help on using the changeset viewer.