Register and OTP (#31)

* feat: responsive

* fix: success register

* feat: auth login responsive && auth login implementation

* fix: login page button disabled & register page

* fix: conflict

* fix: button disabled when loading

* feat: register and otp integration

* Update middleware.ts
This commit is contained in:
Naufal Azmi authored and GitHub committed 2025-05-26 20:49:57 +07:00
1 parent 0f46244d2b
commit aaf5b4262d
14 files changed
+273 -90

No files matched your search

+2 -2
View File
@@ -34,8 +34,8 @@ export const postVerifyEmail = async (
): Promise<TResponseMessage> => {
const { data } = await api({
method: 'POST',
url: '/auth/verify',
data: payload,
url: '/auth/verify-email',
data: {otp: parseInt(payload.otp), email: payload.email},
});
return data;
};