Skip to content

Commit

Permalink
correction bug date
Browse files Browse the repository at this point in the history
  • Loading branch information
dryasredrock committed Apr 16, 2020
1 parent 97166c4 commit 80de133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/cal.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ module.exports = class infoserver extends command {
function createTokenLink(user) {
//création d'un lien vers le formulaire avec la var GET token qui hash le user avec un seed

var jour = new Date().getDate();
var jour = ("0" + (new Date().getDate())).slice(-2);
let token=user+seed+jour;
let hash=hex_md5(token);
let link=user+" utilise le lien suivant : https://urplanning.virtuajdr.net/?token="+hash;
Expand Down

0 comments on commit 80de133

Please sign in to comment.