Skip to content

Firefly III: a personal finances manager

Fix for #1709

James Coleeefb1c4a47ca
diff --git a/resources/views/vendor/passport/authorize.twig b/resources/views/vendor/passport/authorize.twig
index db98cfed92..9a80cfe7dc 100644
--- a/resources/views/vendor/passport/authorize.twig
+++ b/resources/views/vendor/passport/authorize.twig
@@ -75,7 +75,7 @@
<div class="buttons">
<!-- Authorize Button -->
- <form method="post" action="/oauth/authorize">
+ <form method="post" action="{{ route('index') }}/oauth/authorize">
{{ csrf_field() }}
<input type="hidden" name="state" value="{{ request.state }}">
@@ -84,7 +84,7 @@
</form>
<!-- Cancel Button -->
- <form method="post" action="/oauth/authorize">
+ <form method="post" action="{{ route('index') }}/oauth/authorize">
{{ csrf_field() }}
{{ method_field('DELETE') }}