import{iv as a,fH as t,eJ as s}from"./strapi-ye6TfKul.js";import{a as n}from"./SelectRoles-oU6OXC18.js";import"./useAdminRoles-C08Egt77.js";const g=({registrationToken:e})=>{const{formatMessage:i}=a();return e?t.jsx(n,{target:`${window.location.origin}${s()}/auth/register?registrationToken=${e}`,children:i({id:"app.components.Users.MagicLink.connect",defaultMessage:"Copy and share this link to give access to this user"})}):t.jsx(n,{target:`${window.location.origin}${s()}/auth/login`,children:i({id:"app.components.Users.MagicLink.connect.sso",defaultMessage:"Send this link to the user, the first login can be made via a SSO provider."})})};export{g as MagicLinkEE};
