@extends('layouts.app') @section('title', 'My profile') @section('page', 'profile') @section('content') @php $sw = fn ($key, $label, $p = null) => '
'.e($p).'
' : '').'Your own account.@if (auth()->user()->allows('manage_workspace')) Workspace-wide options are in Settings.@endif
{{ $twoFactorRequired ? 'Required by your workspace' : 'Enter a code when you sign in on a new device' }}
{{ $sessions->map(fn ($s) => $s['device'].($s['ip'] ? ', '.$s['ip'] : '').($s['current'] ? ' (this device)' : ''))->implode('. ') ?: 'Only this device.' }}