feat: ajout du refresh token

This commit is contained in:
2021-02-14 11:10:58 +01:00
parent 089b5985f8
commit 7544643cfb
8 changed files with 46 additions and 13 deletions

View File

@@ -102,7 +102,7 @@ func (s *server) handleLocal() http.HandlerFunc {
monID := strconv.Itoa(int(o.ID))
// Puis redisrect vers page resultat
rj := "http://localhost:8090/jwt?model=" + monID
rj := "http://localhost:8090/jwt/" + monID
http.Redirect(rw, r, rj, http.StatusMovedPermanently)
}