Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
alors ?
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTheGeek committed Feb 1, 2024
1 parent 7f55608 commit 93f2943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h1 class="mb-0">OU</h1>
{% if config['URL_API'] %}
var config = {};
config.URL_API = String(config['URL_API']);
console.log({{ api_url }});
console.log(String({{ api_url }}));
{% endif %}
var formData = {
email: $('#email').val(),
Expand All @@ -92,7 +92,7 @@ <h1 class="mb-0">OU</h1>

$.ajax({
type: 'POST',
url: api_url+"/login",
url: String({{ api_url }})+"/login",
contentType: 'application/json;charset=UTF-8',
data: JSON.stringify(formData),
xhrFields: {
Expand Down

0 comments on commit 93f2943

Please sign in to comment.