Skip to content

Commit

Permalink
remove form target to fix http vs https issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Dec 4, 2024
1 parent b261ac9 commit b4e6469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Compatibility: requires minimum Kimai 2.25.0

- Remove form target (password protection) to prevent proxy issues with http vs https
- Removed md5 password from session key
- Use non-deprecated API to fetch timesheets

Expand Down
2 changes: 1 addition & 1 deletion Resources/views/view/auth.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div class="card card-md">
<div class="card-body">
<form action="{{ app.request.uri }}" method="POST">
<form action="" method="POST">
{% if invalidPassword %}
<div class="alert alert-important alert-danger">{{ 'Invalid credentials.' | trans({}, 'security') }}</div>
{% endif %}
Expand Down

0 comments on commit b4e6469

Please sign in to comment.