import{a as n,j as t,bD as s}from"./strapi-D_Y4QZhh.js";import{a}from"./SelectRoles-BcZEucD_.js";import"./useAdminRoles-D0ZP7pQz.js";const g=({registrationToken:e})=>{const{formatMessage:i}=n();return e?t.jsx(a,{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(a,{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};
