easy access to admin information
This commit is contained in:
@@ -20,6 +20,9 @@ public:
|
||||
~App();
|
||||
|
||||
private:
|
||||
const std::string adminName {"comiciusadmin"};
|
||||
const std::string adminPassword {"p3Lv9!7?+Qq"};
|
||||
|
||||
std::map<Wt::WString, Wt::WString> genders_ {
|
||||
{"F", "Female"},
|
||||
{"M", "Male"},
|
||||
@@ -94,6 +97,7 @@ private:
|
||||
Search searchFields;
|
||||
Wt::WTimer *loginTimer_;
|
||||
Wt::WTimer *timeoutRemainingTimer_;
|
||||
bool isLoggedInAsAdmin {false};
|
||||
void setMetaTags();
|
||||
void initApp();
|
||||
void reSetUser();
|
||||
@@ -212,6 +216,11 @@ private:
|
||||
bool isAnimatedGIF(const Magick::Blob &blob);
|
||||
void showStandardPage();
|
||||
void onInternalPathChanged(const std::string &path);
|
||||
void showAdminPage(std::string page);
|
||||
void showAdminLogin(std::string page);
|
||||
void showPageNotExists();
|
||||
void showAdminLogins();
|
||||
void showAdminStarts();
|
||||
};
|
||||
|
||||
#endif // APP_H
|
||||
|
||||
Reference in New Issue
Block a user