mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
chore: minor clarification on have-i-been-pwned plugin
Co-authored-by: INFOR\matteou <m.urso@esaedro.com>
This commit is contained in:
@@ -7,7 +7,8 @@ The Have I Been Pwned plugin helps protect user accounts by preventing the use o
|
||||
|
||||
## Installation
|
||||
|
||||
```ts
|
||||
### Add the plugin to your **auth** config
|
||||
```ts title="auth.ts"
|
||||
import { betterAuth } from "better-auth"
|
||||
import { haveIBeenPwned } from "better-auth/plugins" // [!code highlight]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user