@extends('setting.nav') @section('title', 'Settings') @php // Human labels for the numeric flags stored on the users row. $isAdminUser = $user->auth_id == 0; $isGoogle = $user->account_type == 0; $usesServiceAccount = $user->is_service_account == 1; $connected = $user->is_login == '0'; $roleLabel = $isAdminUser ? 'Administrator' : ($user->is_department_head == 1 ? 'Department head' : 'Member'); $accessLabel = match ((string) $user->user_level) { '2' => 'Full access', '1' => 'Limited access', default => 'Sign-in disabled', }; $fullName = trim(($user->fname ?? '') . ' ' . ($user->lname ?? '')); $imapAvailable = function_exists('imap_open'); @endphp @section('styles') @endsection @section('content') @if (session('success'))
Member since {{ optional($user->created_at)->format('d M Y') ?? '—' }}
Role, access level and department are set by an administrator. Ask yours if any of these look wrong.
Every sign-in sends a six-digit code to this mailbox, so a password on its own is not enough to get in.
The test asks your provider for a token on this mailbox — the same check the dashboard runs when it loads.
Which senders count as important, and which domain is treated as internal, live on their own pages.
The stored password is never displayed again. Saving a new one replaces it and clears the connection warning.
No prompt published yet — the classifier is running on its built-in rules.
@endif @if ($promptHistory->isNotEmpty())The internal domain decides which senders are treated as colleagues rather than outside contacts.
Department and account management is available to administrators.
@endunless