Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function generateCouponToken(){var prefix="_JS_",timestamp=+new Date,coupon=settings.endpoint;if(config.get("auth").logged){coupon+="_"+config.get("auth").data.id}coupon+="-"+timestamp.toString()+"-"+Helper.random(1,99999999);return prefix+Base64.encode(coupon)}
Advertisement
Add Comment
Please, Sign In to add comment