Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jun 10, 2024
1 parent 5c99aa5 commit 54e2f86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions _routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
$app->map(
['GET', 'POST'],
'/authorize',
[AuthorizationController::class, 'authorize'])
[AuthorizationController::class, 'authorize']
)
->setName(OAUTH2_PREFIX . '_authorize')
->add(Authentication::class);

Expand All @@ -69,4 +70,4 @@
$app->get(
'/user',
[ApiController::class, 'user']
)->setName(OAUTH2_PREFIX . '_user');
)->setName(OAUTH2_PREFIX . '_user');
2 changes: 1 addition & 1 deletion templates/default/oauth2_login.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% extends "pages/index.html.twig" %}

{% block form_url %}{{ url_for('oauth2_login') }}{% endblock %}
{% block form_url %}{{ url_for('oauth2_login') }}{% endblock %}

0 comments on commit 54e2f86

Please sign in to comment.