Search
Get Started
BA
Better Auth
•
7mo ago
lightlight
Checking before login and signup
Are there any ways to add a restriction for login and sign up
? Like check if user table has same email with is
_banned
: true
.
Solution
https://www.better-auth.com/docs/concepts/hooks
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth
's behavior
Jump to solution
Better Auth
Join
9,545
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Restrict Login/SignUp
BA
Better Auth / help
6mo ago
Run functions before signup
BA
Better Auth / help
2w ago
Hook before social signup
BA
Better Auth / help
4mo ago
Session management returns null even after successful signup and login
BA
Better Auth / help
7mo ago