diff --git a/routers/NgoRoutes.js b/routers/NgoRoutes.js index 61706c9..d8da0c7 100644 --- a/routers/NgoRoutes.js +++ b/routers/NgoRoutes.js @@ -104,9 +104,10 @@ router.post("/NGO-Registarion", async (req, res) => { }); console.log("NGO registration request sent for approval"); - res - .status(200) - .json({ message: "NGO registration request sent for approval" }); + // res + // .status(200) + // .json({ message: "NGO registration request sent for approval" }); + res.render("success") } catch (err) { console.error("Error creating NGO:", err); res.status(500).json({ error: "Internal server error" }); diff --git a/views/Admin_Dashboard.ejs b/views/Admin_Dashboard.ejs index 12ca23c..298b847 100644 --- a/views/Admin_Dashboard.ejs +++ b/views/Admin_Dashboard.ejs @@ -473,7 +473,7 @@ - + Admin DashBoard diff --git a/views/Email.template.handlebars b/views/Email.template.handlebars index 2d611bb..7c4cc65 100644 --- a/views/Email.template.handlebars +++ b/views/Email.template.handlebars @@ -4,6 +4,7 @@ Registration Successful + + diff --git a/views/forget-password.ejs b/views/forget-password.ejs index e2a37b5..721c857 100644 --- a/views/forget-password.ejs +++ b/views/forget-password.ejs @@ -3,6 +3,7 @@ + -
-

Awesome!

-

You 've been succesfully singned up to Petari, We are tahankful to you are with us !

-
- - +
+
+

Awesome!

+

You've been successfully signed up to Petari. We are thankful to have you with us! + We will Review and Approve your Registration Soon!!! +

+ Go to Homepage +
+
- +