summaryrefslogtreecommitdiff
path: root/src/master_content.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/master_content.hpp')
-rw-r--r--src/master_content.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/master_content.hpp b/src/master_content.hpp
index 7d61dcc..ff40b09 100644
--- a/src/master_content.hpp
+++ b/src/master_content.hpp
@@ -17,9 +17,16 @@ namespace content {
struct master : public cppcms::base_content {
std::string title;
std::string login_link;
- master( ) : cppcms::base_content( ) {
+ std::string logout_link;
+ std::string username;
+
+ public:
+ master( ) : cppcms::base_content( )
+ {
+ // TODO: ini
//~ c.login_link=wi.users.login_url();
login_link = "/strusCms/login";
+ logout_link = "/strusCms/logout";
}
};