© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Checking before login and signup - Better Auth
BA
Better Auth
•
10mo ago
•
5 replies
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
Recent Announcements
Similar Threads
Restrict Login/SignUp
BA
Better Auth / help
9mo ago
Run functions before signup
BA
Better Auth / help
4mo ago
Hook before social signup
BA
Better Auth / help
7mo ago
Session management returns null even after successful signup and login
BA
Better Auth / help
10mo ago