- Finished Booking an Event
- Starting UsersList (creating CGridTableRec component to view and edit a db table)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user