Earners Corner sign-in no longer fills in a website (Marty 2026-11-14): the stackpol.com link made Discourse hold every new member for approval as 'entered profile information without reading'. iap-qa member: ALL PASSED

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 07:34:54 -06:00
parent 92288a30f5
commit a7c36a908a
+2 -1
View File
@@ -34,7 +34,8 @@ function redirectFor(v, acct, site) {
const p = new URLSearchParams({ nonce: v.nonce, email, external_id: email, require_activation: 'false', suppress_welcome_message: 'false' });
if (acct.username) { p.set('username', acct.username); p.set('name', acct.username); }
if (acct.avatarUrl) p.set('avatar_url', /^https?:/.test(acct.avatarUrl) ? acct.avatarUrl : site + acct.avatarUrl);
if (acct.username) p.set('website', 'https://stackpol.com/' + acct.username);
// no website on sign-in (Marty 2026-11-14): Discourse holds a new user who "entered profile information without reading" for
// approval, and the stackpol.com link we filled in put every new member in the review queue. Members add their own.
if (groups.length) p.set('add_groups', groups.join(','));
const remove = ['network_members', 'wallet_linked'].filter(g => !groups.includes(g)); if (remove.length) p.set('remove_groups', remove.join(','));
const out = Buffer.from(p.toString()).toString('base64');