Last active
May 4, 2018 19:53
-
-
Save gl2748/220015d280ca49826f748d776a39a7e8 to your computer and use it in GitHub Desktop.
get approval link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** | |
* Needs JWT_SECRET env var. | |
*/ | |
const jwt = require('jsonwebtoken') | |
async function approveSignup() { | |
const token = jwt.sign({ | |
type: 'create_account', email: 'sandy.collins@ttu.edu', | |
}, process.env.JWT_SECRET) | |
console.log('EMAIL LINK:', `https://signup.steemit.com/create-account?token=${token}`) | |
} | |
approveSignup(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with: