Freelancer Password Reset #WIP

This commit is contained in:
Tina_Azure
2023-04-25 00:50:31 +02:00
parent 0eddcefe13
commit 5c47528afd

View File

@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
cout << "Aborting Startup!" << endl;
return 1;
}
return 0;
// Create app with Middleware
crow::App<crow::CookieParser> app;
@ -270,6 +270,15 @@ int main(int argc, char *argv[]) {
return page.render();
});
/*
* Page for freelancer to request a password reset email
*/
CROW_ROUTE(app, "/freelancer/login/passwordreset")
([]() {
auto page = crow::mustache::load("freelancer_Login_PasswordReset.html");
return page.render();
});
/*
* Page for freelancer to log in fulfillment
*/