<% if (scope === 'organization') { person_scope = 'You and all organization users'; } else if (scope === 'organization_user') { person_scope = 'The user'; } else { person_scope = 'You'; } %>

<% if (scope === 'organization') { %> You are about to regenerate the <%- type === "api" ? 'API keys' : 'OAuth credentials' %> for all the users of the organization <% } else if (scope === 'organization_user') { %> You are about to regenerate the <%- type === "api" ? 'API keys' : 'OAuth credentials' %> for this user of the organization <% } else { %> You are about to regenerate your <%- type === "api" ? 'API keys' : 'OAuth credentials' %> <% } %>

<% if (type === "api") { %> <%- person_scope %> will need to update all deployed apps with the new API keys. Are you sure you want to continue? <% } else { %> <%- person_scope %> will have to update all OAuth keys in apps where you are using CARTO. Are you sure? <% } %>

<% if (passwordNeeded) { %>
<% } %>