mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 08:01:56 -05:00
fix: password verify argument order
This commit is contained in:
@@ -194,7 +194,7 @@ export interface BetterAuthOptions {
|
||||
*/
|
||||
password?: {
|
||||
hash?: (password: string) => Promise<string>;
|
||||
verify?: (password: string, hash: string) => Promise<boolean>;
|
||||
verify?: (hash: string, password: string) => Promise<boolean>;
|
||||
};
|
||||
/**
|
||||
* Automatically sign in the user after sign up
|
||||
|
||||
Reference in New Issue
Block a user