@extends('layouts.erp') @section('title', 'Mon profil') @section('page_title', 'Mon profil') @section('page_sub', auth()->user()->roleLabel()) @section('content')
Identité
@if(session('status') === 'profile-updated')
Profil mis à jour.
@endif
@csrf @method('patch')
Mot de passe
@if(session('status') === 'password-updated')
Mot de passe modifié.
@endif
@csrf @method('put')
Double authentification
@if(session('status') === 'two-factor-enabled')
La double authentification est active.
@endif @if(session('status') === 'two-factor-disabled')
La double authentification est désactivée.
@endif @if($user->two_factor_confirmed_at)

Un code à 6 chiffres est demandé à chaque connexion.

@csrf @method('DELETE')
@else

Ajoutez TEKPOINTE dans une application d'authentification (Google Authenticator, Microsoft Authenticator).

@if($user->two_factor_secret) QR code à scanner dans l'application d'authentification

Scannez ce code avec l'application. La clé reste affichée si l'appareil photo ne passe pas.

Clé : {{ $user->two_factor_secret }}

@csrf
@error('code')
{{ $message }}
@enderror
@else
@csrf
@endif @endif
@endsection