[Common Issue] Netlify CMS & Git Gateway - Email not confirmed

Thanks you Tom!

The mail template version is obviously the cleanest option. Unfortunately it’s not available in the Starter package. So instead of loading the widget for all users I came up with a simple redirect instead. Something like:

  useEffect(() => {
    if (window.location.hash.includes('_token=')) {
      window.location.replace('/admin/' + window.location.hash)
    }
  })

works quite nicely :tada:

7 Likes