{{-- Copyright (c) 2015 - 2016 Dane Everitt --}} {{-- Permission is hereby granted, free of charge, to any person obtaining a copy --}} {{-- of this software and associated documentation files (the "Software"), to deal --}} {{-- in the Software without restriction, including without limitation the rights --}} {{-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell --}} {{-- copies of the Software, and to permit persons to whom the Software is --}} {{-- furnished to do so, subject to the following conditions: --}} {{-- The above copyright notice and this permission notice shall be included in all --}} {{-- copies or substantial portions of the Software. --}} {{-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR --}} {{-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, --}} {{-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE --}} {{-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER --}} {{-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --}} {{-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --}} {{-- SOFTWARE. --}} @extends('layouts.master') @section('title', 'Account Security') @section('sidebar-server') @endsection @section('content')
@foreach (Alert::getMessages() as $type => $messages) @foreach ($messages as $message) @endforeach @endforeach

Active Sessions


@foreach($sessions as $session) payload)) ?> @endforeach
Session ID IP Address User Agent Last Location Last Activity
{{ substr($session->id, 0, 8) }} {{ $session->ip_address }} {{ $session->user_agent }} @if(isset($prev['_previous']['url'])) {{ str_replace(env('APP_URL'), '', $prev['_previous']['url']) }} @else unknwon @endif @if((time() - $session->last_activity < 10)) just now @else {{ date('D, M j \a\t H:i:s', $session->last_activity) }} @endif

{{ trans('base.account.totp_header') }} @if (Auth::user()->use_totp === 1){{ trans('strings.enabled') }}@else{{ trans('strings.disabled') }}@endif


@if (Auth::user()->use_totp === 1)
{{ trans('base.account.totp_disable') }}

{{ trans('base.account.totp_disable_help') }}


{{ trans('base.account.totp_token') }} {!! csrf_field() !!} {{ method_field('DELETE') }}
@else

{{ trans('base.account.totp_header') }}

{{ trans('base.account.totp_enable_help') }}

{{ trans('base.account.totp_apps') }}
{!! csrf_field() !!}
@endif
@endsection