{{-- Pterodactyl - Panel --}} {{-- Copyright (c) 2015 - 2017 Dane Everitt --}} {{-- This software is licensed under the terms of the MIT license. --}} {{-- https://opensource.org/licenses/MIT --}} @extends('layouts.master') @section('title') @lang('base.security.header') @endsection @section('content-header')

@lang('base.security.header')@lang('base.security.header_sub')

@endsection @section('content')

@lang('base.security.sessions')

@if(!is_null($sessions))
@foreach($sessions as $session) @endforeach
@lang('strings.id') @lang('strings.ip') @lang('strings.last_activity')
{{ substr($session->id, 0, 6) }} {{ $session->ip_address }} {{ Carbon::createFromTimestamp($session->last_activity)->diffForHumans() }}
@else

@lang('base.security.session_mgmt_disabled')

@endif

@lang('base.security.2fa_header')

@if(Auth::user()->use_totp)

@lang('base.security.2fa_enabled')

@lang('base.security.2fa_token_help')

@else
@lang('base.security.2fa_disabled')
@endif
@endsection @section('footer-scripts') @parent {!! Theme::js('js/frontend/2fa-modal.js') !!} @endsection