mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-23 13:42:01 +00:00
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m24s
- Updated `auth-actions.ts` to improve user verification notification formatting and date handling. - Modified `layout.tsx` to support dark mode styling for better user experience. - Refactored `signup/page.tsx` to enhance layout and responsiveness. - Introduced a new API route in `route.ts` for sending user verification notifications. - Improved user feedback in `user-payments-table.tsx` by updating the no payment message. - Made minor adjustments in `application-layout.tsx` for consistent padding. - Enhanced `signup-form.tsx` to display error messages for invalid user validation. These changes improve the user verification process, enhance UI consistency, and provide better feedback to users.
17 lines
484 B
TypeScript
17 lines
484 B
TypeScript
import { SendUserRejectionDetailSMS } from "@/actions/user-actions";
|
|
|
|
export async function POST(request: Request) {
|
|
await SendUserRejectionDetailSMS({
|
|
details: `
|
|
A new user has requested for verification. \n
|
|
USER DETAILS:
|
|
Name: Jacob
|
|
Address: Jacob House
|
|
ID Card: A222111
|
|
DOB: 24-08-1997
|
|
ACC No: 7770000010629 \n\nVerify the user with the folloiwing link: ${process.env.BETTER_AUTH_URL}/users/verify
|
|
`,
|
|
phoneNumber: process.env.ADMIN_PHONENUMBER ?? "",
|
|
});
|
|
}
|