PageSourceSearch

https://curity.io/component---src-templates-resource-article-js-co…nd-email-action-mdx-9a718fc8a6eb9c7f9ba9.js

js curity.io collected 2026-10-01 11:38:06 UTC 3,315 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcurity_website=self.webpackChunkcurity_website||[]).push([[254],{79576:function(t,e,n){n.r(e),n.d(e,{Head:function(){return y},default:function(){return g}});var i=n(54506),a=n(74848),r=n(28453);function o(t){const e=Object.assign({p:"p"},(0,r.RP)(),t.components);return(0,a.jsx)(e.p,{children:"An example of an authenticator action. The action can send an email to the user whenever they log in\nto their account (or use the SSO session to authenticate). The action can be triggered by a plugin setting or by using\nother actions. The e-mail sent contains the username, time of login, the user-agent used to log in and, optionally, the\nIP address from which the login was initiated."})}var s=function(t={}){const{wrapper:e}=Object.assign({},(0,r.RP)(),t.components);return e?(0,a.jsx)(e,Object.assign({},t,{children:(0,a.jsx)(o,t)})):o(t)},c=n(55096),h=n(6859),u=n(77528),p=n(63351),m=n(96540),l=n(32413);function d({data:{mdx:t},children:e}){const{frontmatter:n,internal:i}=t,{contentFilePath:a}=t.internal,r=(0,l.au)(a);return m.createElement(m.Fragment,null,m.createElement(h.A,{showArticleSidebarNav:!0,contentType:n.topic}),m.createElement(p.A),m.createElement(c.c,{articleSlug:r,frontmatter:n,children:e,path:i.contentFilePath}))}function g(t){return m.createElement(d,t,m.createElement(s,t))}const y=({data:{mdx:t},location:e})=>{const{frontmatter:n}=t,{contentFilePath:a}=t.internal,r=(0,l.au)(a),o=n.sharing_image?n.sharing_image:"/images/open-graph/homepage-sharing-image.jpg",s={"@context":"https://schema.org","@type":"TechArticle",mainEntityOfPage:{"@type":"WebPage","@id":`https://curity.io${r}`},headline:n.title,image:[`https://curity.io${o}`],datePublished:n.created||n.date,dateModified:n.date,...n.keywords?{keywords:n.keywords}:{},author:(0,l.fy)(n.author),url:`https://curity.io${r}`,description:n.description,publisher:{"@type":"Organization","@id":"https://curity.io/#organization"}},c=n.faq?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:n.faq.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))}:null,h=Array.isArray(n.howto_steps)?n.howto_steps.filter(t=>t&&t.name&&t.text):[],p=(t=>{if(!t||"string"!=typeof t)return;const e=t.match(/(\d+)\s*(hour|hr|h|minute|min|m)/i);if(!e)return;const n=parseInt(e[1],10);if(Number.isNaN(n))return;return e[2].toLowerCase().startsWith("h")?`PT${n}H`:`PT${n}M`})(n.time),d=h.length>=2?{"@context":"https://schema.org","@type":"HowTo",name:n.title,description:n.description,...n.sharing_image?{image:`https://curity.io${n.sharing_image}`}:{},...p?{totalTime:p}:{},step:h.map((t,e)=>({"@type":"HowToStep",position:e+1,name:t.name,text:t.text,...t.url?{url:t.url.startsWith("#")?`https://curity.io${r}${t.url}`:t.url}:{}}))}:null,g={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://curity.io/"},{"@type":"ListItem",position:2,name:"Resources",item:"https://curity.io/resources/"},{"@type":"ListItem",position:3,name:n.title,item:`https://curity.io${r}`}]},y=[s].concat((0,i.A)(d?[d]:[]),[g],(0,i.A)(c?[c]:[]));return m.createElement(u.A,{title:null!==n.seo_title?n.seo_title:n.title,description:n.description,image:o,schemaMarkup:y,bodyClass:"resources  ",pathname:e.pathname})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.