Importing TWO_FACTOR_ERROR_CODES – Is It Possible?
Hello, is it possible to import TWO_FACTOR_ERROR_CODES from the file plugins/two-factor/error-code.ts?
Github link
Github link
GitHub
The most comprehensive authentication framework for TypeScript - better-auth/better-auth
Solution
Not right now, but I just made a PR to fix this.
https://github.com/better-auth/better-auth/pull/2102
https://github.com/better-auth/better-auth/pull/2102