Skip to content

Commit e18accd

Browse files
lane711claude
andcommitted
docs(www): document OTP email branding settings for v2.18.0
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b142227 commit e18accd

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

www/src/app/authentication/page.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,29 @@ The **OTP (One-Time Password) Login Plugin** provides email-based authentication
186186
- Rate limiting (default: 5 codes per hour)
187187
- Max verification attempts (default: 3)
188188
- Optional new user registration support
189+
- Customizable email branding: logo, sign-in button, button text, and logo border styling
190+
- Live email preview on the settings page
189191

190192
**Installation:**
191193

192194
1. Navigate to **Admin****Plugins**
193195
2. Find **OTP Login** plugin
194196
3. Click **Activate**
195-
4. Configure settings:
197+
4. Configure code settings:
196198
- **Code Length**: 4-8 digits (default: 6)
197199
- **Code Expiration**: 5-60 minutes (default: 10)
198200
- **Max Attempts**: 3-10 (default: 3)
199201
- **Rate Limit**: Codes per hour (default: 5)
200202
- **Allow Registration**: Enable if you want new users to register via OTP
203+
5. Configure email branding (all optional):
204+
- **Logo URL**: image shown at the top of the email
205+
- **Logo Width (px)**: rendered logo size, 20–600 (default: 150)
206+
- **Logo Border Thickness (px)**: 0–20; `0` disables the border (default: 0)
207+
- **Logo Border Color**: hex / rgb / named color, with picker swatch (default: `#ffffff`); the logo gets a matching `border-radius` when both thickness and color are set
208+
- **Login URL**: when set, a styled **Sign in to {site name}** button is rendered under the OTP code in the email
209+
- **Login Button Text**: override the default button label
210+
211+
The settings page renders a live preview of the email so you can verify branding before sending.
201212

202213
**API Usage:**
203214

0 commit comments

Comments
 (0)