Freelancer Password Reset #WIP
This commit is contained in:
11
src/main.cpp
11
src/main.cpp
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user