@extends('layouts.app') @section('title', 'Settings') @section('content')

Settings

Plan: {{ $plan }}

Profile

@csrf

Password

@csrf @if($user->password) @else

You signed in with Google or LinkedIn. Set a password to also sign in with email.

@endif

Two-factor sign-in

@if($user->mfa_enabled)

On. You will be asked for a code from your authenticator app each time you sign in.

@csrf @if($user->password)@endif

@elseif($pendingSecret)

Add this key to your authenticator app (Google Authenticator, Authy, 1Password), then enter the code it shows.

{{ $pendingSecret }}

Or add it from a link on your phone: open in authenticator

@csrf

@else

Protect your account with a one-time code from an authenticator app.

@csrf

@endif

API access

Use a token to call the Nzeru Lab API from your own tools. Send it as Authorization: Bearer <token>.

@if(session('new_token'))
Copy this token now. It will not be shown again.
{{ session('new_token') }}
@endif @forelse($tokens as $t)
{{ $t->name }} ยท last used {{ $t->last_used_at?->diffForHumans() ?? 'never' }}
@csrf @method('DELETE')
@empty

No tokens yet.

@endforelse
@csrf
@endsection