Skip to content

Instantly share code, notes, and snippets.

@Ghostscypher
Created February 2, 2022 12:20
Show Gist options
  • Save Ghostscypher/40a3cad8de81f8aca10fe8a01367717b to your computer and use it in GitHub Desktop.
Save Ghostscypher/40a3cad8de81f8aca10fe8a01367717b to your computer and use it in GitHub Desktop.
Client app login blade
@extends('layout.layout')
@section('content')
<form action="{{route('login.post')}}" method="POST">
@csrf
@error('success')
<div class="success">
{{$message}}
</div>
<br><br>
@enderror
@error('error')
<div class="error">
{{$message}}
</div>
<br><br>
@enderror
<br>
<button type="submit">Login with Oauth2-Server</button>
<br>
Don't have an account? <a href="{{route('register')}}">Register here</a>
</form>
@endsection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment