[wpdev-commits] wolfpack accounts.cpp,1.100,1.101
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-31 01:10:02
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3581 Modified Files: accounts.cpp Log Message: rawpassword property Index: accounts.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/accounts.cpp,v retrieving revision 1.100 retrieving revision 1.101 diff -C2 -d -r1.100 -r1.101 *** accounts.cpp 22 Aug 2004 15:12:34 -0000 1.100 --- accounts.cpp 31 Aug 2004 01:09:51 -0000 1.101 *************** *** 605,608 **** --- 605,609 ---- PY_PROPERTY("multigems", isMultiGems() ); PY_PROPERTY("password", password()); + PY_PROPERTY("rawpassword", password()); PY_PROPERTY("flags", flags()); /* *************** *** 653,656 **** --- 654,666 ---- } /* + \property account.rawpassword If you use MD5 hashing this property is the hashed password and no + conversions will be done automatically if you set this property. If you don't use MD5 hashing, + this property is equivalent to the password property. + */ + else if (name == "rawpassword") { + password_ = value.toString(); + return 0; + } + /* \property account.flags This property provides direct access to the flags of this account. Possible flags are: |