Changeset 1964 for trunk/expressoMail1_2/js/local_messages.js
- Timestamp:
- 02/02/10 15:15:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/local_messages.js
r1939 r1964 1305 1305 } 1306 1306 1307 local_messages.prototype.set_as_logged = function(uid_usuario,pass) { 1308 this.init_local_messages(); 1309 var rs = this.dbGears.execute("select pass from user where uid_usuario=?",[uid_usuario]); 1310 if(!rs.isValidRow() || (pass!=rs.field(0) && pass!=MD5(rs.field(0))) ) { 1311 this.finalize(); 1312 return false; 1307 local_messages.prototype.set_as_logged = function(uid_usuario,pass,bypass) { 1308 this.init_local_messages(); 1309 if (!bypass) { 1310 var rs = this.dbGears.execute("select pass from user where uid_usuario=?", [uid_usuario]); 1311 if (!rs.isValidRow() || (pass != rs.field(0) && pass != MD5(rs.field(0)))) { 1312 this.finalize(); 1313 return false; 1314 } 1313 1315 } 1314 1316 d = new Date();
Note: See TracChangeset
for help on using the changeset viewer.