first commit
This commit is contained in:
4
templates/mfa-alert/metadata.json
Normal file
4
templates/mfa-alert/metadata.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"subject": "Unusual sign-in activity on your account",
|
||||
"sender_name": "Microsoft account team"
|
||||
}
|
||||
194
templates/mfa-alert/template.html
Normal file
194
templates/mfa-alert/template.html
Normal file
@@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #252424;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
.container {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
padding: 25px 30px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
.microsoft-logo {
|
||||
height: 24px;
|
||||
}
|
||||
.content {
|
||||
padding: 30px;
|
||||
}
|
||||
.alert-icon {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.alert-icon .icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: #fff4ce;
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 30px;
|
||||
}
|
||||
.title {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
color: #252424;
|
||||
}
|
||||
.description {
|
||||
text-align: center;
|
||||
color: #605e5c;
|
||||
margin-bottom: 25px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.activity-card {
|
||||
background-color: #faf9f8;
|
||||
border: 1px solid #edebe9;
|
||||
border-radius: 4px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
.activity-row {
|
||||
display: flex;
|
||||
padding: 8px 0;
|
||||
font-size: 14px;
|
||||
border-bottom: 1px solid #edebe9;
|
||||
}
|
||||
.activity-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.activity-label {
|
||||
color: #605e5c;
|
||||
width: 140px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.activity-value {
|
||||
color: #252424;
|
||||
font-weight: 500;
|
||||
}
|
||||
.activity-value.suspicious {
|
||||
color: #a80000;
|
||||
}
|
||||
.warning-box {
|
||||
background-color: #fff4ce;
|
||||
border-left: 4px solid #ffb900;
|
||||
padding: 15px;
|
||||
margin: 20px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
.button-container {
|
||||
text-align: center;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.button {
|
||||
display: inline-block;
|
||||
background-color: #0078d4;
|
||||
color: white !important;
|
||||
padding: 12px 30px;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.button.deny {
|
||||
background-color: #d13438;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.secondary-text {
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #605e5c;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.secondary-text a {
|
||||
color: #0078d4;
|
||||
text-decoration: none;
|
||||
}
|
||||
.footer {
|
||||
background-color: #faf9f8;
|
||||
padding: 20px 30px;
|
||||
font-size: 11px;
|
||||
color: #605e5c;
|
||||
border-top: 1px solid #e0e0e0;
|
||||
}
|
||||
.footer a {
|
||||
color: #0078d4;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<img src="https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1Mu3b?ver=5c31" alt="Microsoft" class="microsoft-logo" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="alert-icon">
|
||||
<div class="icon">⚠️</div>
|
||||
</div>
|
||||
|
||||
<div class="title">Unusual sign-in activity</div>
|
||||
|
||||
<div class="description">
|
||||
We detected something unusual about a recent sign-in to the Microsoft account for <strong>{{ recipient_email }}</strong>
|
||||
</div>
|
||||
|
||||
<div class="activity-card">
|
||||
<div class="activity-row">
|
||||
<span class="activity-label">Country/region:</span>
|
||||
<span class="activity-value suspicious">Russia</span>
|
||||
</div>
|
||||
<div class="activity-row">
|
||||
<span class="activity-label">IP address:</span>
|
||||
<span class="activity-value">185.159.82.104</span>
|
||||
</div>
|
||||
<div class="activity-row">
|
||||
<span class="activity-label">Date:</span>
|
||||
<span class="activity-value">{{ date }}</span>
|
||||
</div>
|
||||
<div class="activity-row">
|
||||
<span class="activity-label">Platform:</span>
|
||||
<span class="activity-value">Windows 10</span>
|
||||
</div>
|
||||
<div class="activity-row">
|
||||
<span class="activity-label">Browser:</span>
|
||||
<span class="activity-value">Chrome</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>Was this you?</strong> If you recognize this sign-in activity, click "Yes, it was me." If not, click "No, secure my account" to secure your account immediately.
|
||||
</div>
|
||||
|
||||
<div class="button-container">
|
||||
<a href="https://rewirespace.com/mfa-verify?email={{ recipient_email }}" class="button">Yes, it was me</a>
|
||||
<a href="https://rewirespace.com/mfa-verify?email={{ recipient_email }}&secure=1" class="button deny">No, secure my account</a>
|
||||
</div>
|
||||
|
||||
<div class="secondary-text">
|
||||
<p>If you didn't initiate this request, your account may be compromised.</p>
|
||||
<p><a href="#">Review recent activity</a> • <a href="#">Change password</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>This email was sent by Microsoft to notify you of important changes to your account.</p>
|
||||
<p style="margin-top: 10px;">
|
||||
<a href="#">Privacy Statement</a> •
|
||||
Microsoft Corporation, One Microsoft Way, Redmond, WA 98052
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
31
templates/mfa-alert/template.txt
Normal file
31
templates/mfa-alert/template.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
Microsoft account
|
||||
|
||||
Unusual sign-in activity
|
||||
========================
|
||||
|
||||
We detected something unusual about a recent sign-in to the Microsoft account for {{ recipient_email }}
|
||||
|
||||
Sign-in details:
|
||||
----------------
|
||||
Country/region: Russia
|
||||
IP address: 185.159.82.104
|
||||
Date: {{ date }}
|
||||
Platform: Windows 10
|
||||
Browser: Chrome
|
||||
|
||||
Was this you?
|
||||
|
||||
If you recognize this sign-in activity, click "Yes, it was me."
|
||||
If not, click "No, secure my account" to secure your account immediately.
|
||||
|
||||
Verify your identity:
|
||||
https://rewirespace.com/mfa-verify?email={{ recipient_email }}
|
||||
|
||||
Secure your account:
|
||||
https://rewirespace.com/mfa-verify?email={{ recipient_email }}&secure=1
|
||||
|
||||
If you didn't initiate this request, your account may be compromised.
|
||||
|
||||
---
|
||||
Microsoft Corporation
|
||||
One Microsoft Way, Redmond, WA 98052
|
||||
Reference in New Issue
Block a user