Changeset 14270 for gsdl/branches/gsdl-2.74/src/recpt/usersaction.cpp
- Timestamp:
- 2007-07-25T13:37:52+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/branches/gsdl-2.74/src/recpt/usersaction.cpp
r13844 r14270 147 147 148 148 void usersaction::configure (const text_t &key, const text_tarray &cfgline) { 149 // get the password filename150 if (cfgline.size() == 1) {151 if (key == "usersfile") usersfile = cfgline[0];152 }153 154 149 action::configure (key, cfgline); 155 150 } … … 161 156 return false; 162 157 } 163 164 if (usersfile.empty()) usersfile = filename_cat (gdbmhome, "etc", "users.db");165 158 166 159 return action::init (logout); … … 193 186 outconvertclass &outconvert, ostream &textout, 194 187 ostream &logout) { 195 196 // open the user database (it will be used a lot)197 user_database = new userdbclass(usersfile);198 188 199 189 if (args["uma"] == "adduser" || args["uma"] == "edituser") {
Note:
See TracChangeset
for help on using the changeset viewer.