diff --git a/server/boot/certificate.js b/server/boot/certificate.js index df65cd2b73d..e816112417a 100644 --- a/server/boot/certificate.js +++ b/server/boot/certificate.js @@ -231,6 +231,19 @@ export default function certificate(app) { .subscribe( (didCertify) => { if (didCertify) { + // Check if they have a name set + if (user.name === '') { + return res.status(200).send( + dedent` + We need your name so we can put it on your certificate. + Add your + name to your GitHub account, then go to your + settings + page and click the "update my portfolio from GitHub" + button. Then we can issue your certificate. + ` + ); + } return res.status(200).send(true); } return res.status(200).send(