comparison Lib/IMPL/Security/Auth/Simple.pm @ 239:23daf2fae33a

*security subsytem bugfixes *HttpResponse: cookies which values are set to undefined will be deleted from browser
author sergey
date Tue, 16 Oct 2012 20:14:11 +0400
parents 6d8092d8ce1b
children 0057f48f7945
comparison
equal deleted inserted replaced
238:b8c724f6de36 239:23daf2fae33a
60 if (md5_hex($salt, $challenge, $salt) eq $this->_image) { 60 if (md5_hex($salt, $challenge, $salt) eq $this->_image) {
61 if ($this->_stage == STAGE_INIT) { 61 if ($this->_stage == STAGE_INIT) {
62 $this->_stage(STAGE_DONE); 62 $this->_stage(STAGE_DONE);
63 } 63 }
64 return (AUTH_SUCCESS, undef); 64 return (AUTH_SUCCESS, undef);
65 } elsee { 65 } else {
66 return (AUTH_FAIL, undef); 66 return (AUTH_FAIL, undef);
67 } 67 }
68 } 68 }
69 69
70 sub CreateSecData { 70 sub CreateSecData {