Closed chromy closed 6 years ago
Signups via the badge go down a slightly different path than signups via the main page (eventually ending up at https://example.com/iframe/dialog, https://github.com/rauchg/slackin/blob/master/lib/index.js#L248). Unfortunately this path doesn't pass gcaptcha_sitekey to splash (https://github.com/rauchg/slackin/blob/master/lib/splash.js#L3) which results in this error when you try to sign up:
gcaptcha_sitekey
splash
Uncaught TypeError: Cannot read property 'value' of undefined at HTMLBodyElement.<anonymous> (client.js:23)
The fix is to pass gcaptcha_sitekey which I have tested locally.
Signups via the badge go down a slightly different path than signups via the main page (eventually ending up at https://example.com/iframe/dialog, https://github.com/rauchg/slackin/blob/master/lib/index.js#L248). Unfortunately this path doesn't pass
gcaptcha_sitekey
tosplash
(https://github.com/rauchg/slackin/blob/master/lib/splash.js#L3) which results in this error when you try to sign up:The fix is to pass
gcaptcha_sitekey
which I have tested locally.