@extends('layouts.master') @section('title') Profile @endsection @section('content') {{-- session has success message show --}} @if (session()->has('success'))
@elseif(session()->has('error'))
@endif
{{ Auth::user()->name }}

{{ Auth::user()->roles->first()->name }}

@csrf
@csrf
@endsection @section('script') @endsection