- Finished Booking an Event

- Starting UsersList (creating CGridTableRec component to view and edit a db table)
This commit is contained in:
Paolo Arena
2019-10-13 20:44:05 +02:00
parent cebe1208de
commit c5a19f2d70
7 changed files with 125 additions and 26 deletions

View File

@@ -7,9 +7,9 @@ function toHexString(bytes) {
}
module.exports = {
getlinkregByEmail: function (email, username) {
getlinkregByEmail: function (idapp, email, username) {
try{
mystr = email + username;
mystr = idapp + email + username;
return jwt.sign(toHexString(mystr), process.env.SIGNCODE).toString();
} catch (e) {
console.error(e);