summaryrefslogtreecommitdiff
path: root/src/master.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-07-31 15:30:32 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-07-31 15:30:32 +0200
commit9f624560ffb625d7766480c4621169025df32c33 (patch)
treee7ee8a6b90eabf375052ac79829544354fdc3006 /src/master.cpp
parent54a304276fb361f95332c5c1f8c6f67026b1d96c (diff)
downloadaCms-9f624560ffb625d7766480c4621169025df32c33.tar.gz
aCms-9f624560ffb625d7766480c4621169025df32c33.tar.bz2
checking password with cracklib now
added printName (the visible name of the user in registration and login)
Diffstat (limited to 'src/master.cpp')
-rw-r--r--src/master.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/master.cpp b/src/master.cpp
index bd3e5df..021fdb2 100644
--- a/src/master.cpp
+++ b/src/master.cpp
@@ -22,6 +22,11 @@ void master::ini( content::master &c )
} else {
c.username = "";
}
+ if( session( ).is_set( "printName" ) ) {
+ c.printName = session( )["printName" ];
+ } else {
+ c.printName = "";
+ }
c.login_link = cms.root( ) + "/login";
c.logout_link = cms.root( ) + "/logout";
c.register_link = cms.root( ) + "/register";