Closed yasseralsaidi closed 15 hours ago
Corrected the parameter order for the verify method: Updated the verify function to accept password as the first argument and hash as the second argument.
// BetterAuthOptions types
password: { ... verify?: (password: string, hash: string) => Promise<boolean>;
// verifyPassword function
export const verifyPassword = async (hash: string, password: string) => {...}
@yasseralsaidi is attempting to deploy a commit to the better-auth Team on Vercel.
A member of the Team first needs to authorize it.
Corrected the parameter order for the verify method: Updated the verify function to accept password as the first argument and hash as the second argument.
// BetterAuthOptions types
// verifyPassword function