Commit af5bdb9c authored by 神楽坂玲奈's avatar 神楽坂玲奈

require_activation

parent 042cdaa5
......@@ -23,6 +23,10 @@ export const handleSSO = (user) => {
}
params.set('external_id', user.id);
params.set('avatar_url', user.avatar);
if (!user.active) {
params.set('require_activation', 'true');
}
const payload = Buffer.from(params.toString()).toString('base64');
url.searchParams.set('sso', payload);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment