Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Checking before login and signup - Better Auth
BA
Better Auth
•
9mo 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
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Restrict Login/SignUp
BA
Better Auth / help
8mo ago
Run functions before signup
BA
Better Auth / help
3mo ago
Hook before social signup
BA
Better Auth / help
6mo ago
Session management returns null even after successful signup and login
BA
Better Auth / help
9mo ago