diff --git a/front/src/components/Login/SubmitForm.js b/front/src/components/Login/SubmitForm.js
index 389552824cadb5ad1d22c15b4f0aed183d5bdac1..1748c564e194f2b56c423d58e69d366890d723d6 100644
--- a/front/src/components/Login/SubmitForm.js
+++ b/front/src/components/Login/SubmitForm.js
@@ -1,6 +1,7 @@
 import React, { useState, useEffect } from "react";
 import { MDBRow, MDBCol, MDBInput, MDBBtn, MDBCard, MDBCardBody, MDBModalFooter, MDBIcon, MDBContainer } from 'mdbreact';
 import axios from 'axios';
+import eventData from "../../eventData/eventData.json";
 
 function Submit(props) {
 
@@ -25,6 +26,8 @@ function Submit(props) {
         })
         }*/
 
+        if (Date.now() < 0) {
+
         axios.post('/api/staff/new_score',
             {
                 score: Math.max(0, props.score),
@@ -44,6 +47,30 @@ function Submit(props) {
             }, (error) => {
                 console.log(error);
             })
+
+        }
+
+        else {
+            axios.post('/api/staff/new_score',
+            {
+                score: Math.max(0, props.score),
+                equipe: props.equipe.value,
+                participant: "sprint"
+            })
+            .then(() => {
+                axios.post('/api/staff/new_participant_with_id',
+                    {
+                        id: "sprint",
+                        name: "Sprint"
+                    })
+            })
+            .then(() => {
+                alert("Score ajouté");
+                window.location = '/Input';
+            }, (error) => {
+                console.log(error);
+            })
+        }
     };