mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
fix(username): add callbackURL option to signInUsername (#3324)
This commit is contained in:
@@ -56,6 +56,11 @@ export const username = (options?: UsernameOptions) => {
|
||||
description: "Remember the user session",
|
||||
})
|
||||
.optional(),
|
||||
callbackURL: z
|
||||
.string({
|
||||
description: "The URL to redirect to after the user signs in",
|
||||
})
|
||||
.optional(),
|
||||
}),
|
||||
metadata: {
|
||||
openapi: {
|
||||
|
||||
Reference in New Issue
Block a user