Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions resources/views/errors/not-authorized.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@extends('layouts.minimal')

@section('title')
{{__('Unauthorized')}}
@endsection

@section('content')
<div class="error-container">
<div class="error-404-icon">
<img src="/img/robot.png"/>
</div>
<div class="error-content">
<h1>{{__('Unauthorized')}}</h1>
<p>{{__('This form is assigned to someone else, so it’s not available under your account.')}}</p>
<p>{{__('If you think this is a mistake or need help, reach out to your admin or support team.')}}</p>
</div>
</div>
@endsection

@section('css')

<style>
.container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 10%;
}
.error-content {
margin-top: auto;
}
.error-404-icon {
text-align: center;
}

</style>
@endsection
4 changes: 4 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@

Route::get('/unavailable', [UnavailableController::class, 'show'])->name('error.unavailable');

Route::get('/not-authorized', function () {
return view('errors.not-authorized');
})->name('errors.not-authorized');

// SAML Metadata Route
Route::resource('/saml/metadata', MetadataController::class)->only('index');

Expand Down
Loading