fix: small admin fixes

This commit is contained in:
Taranto 2020-02-26 09:31:58 +00:00 committed by Josh Harvey
parent bde27cce4c
commit b1b8b82260
5 changed files with 41 additions and 43 deletions

View file

@ -20,7 +20,7 @@ login.generateOTP(name).then(otp => {
if (domain === 'localhost') {
console.log(`https://${domain}:3000/register?otp=${otp}`)
} else {
console.log(`https://${domain}?otp=${otp}`)
console.log(`https://${domain}/register?otp=${otp}`)
}
process.exit(0)