This commit is contained in:
Martin Müller 2014-05-11 15:58:17 +02:00
parent 1e33ae2534
commit 9ff37d7a06
2 changed files with 1 additions and 3 deletions

View File

@ -78,8 +78,6 @@ class User extends AppModel {
$this->id = $result['User']['id']; $this->id = $result['User']['id'];
if($result) if($result)
$result = $this->saveField('code',$data['User']['code']); $result = $this->saveField('code',$data['User']['code']);
if($result)
$result = $this->saveField('is_active',false);
if($result) if($result)
$result=self::sendPasswortResetMail($data); $result=self::sendPasswortResetMail($data);

View File

@ -83,7 +83,7 @@
$(where+" form.tableForm tbody").each(function(evt){ $(where+" form.tableForm tbody").each(function(evt){
var that = this; var that = this;
newRow = $(".new").html(); var newRow = $(".new").html();
$(that).change(function(){ $(that).change(function(){
tosave = true; tosave = true;
$("tr",that).each(function(evt){ $("tr",that).each(function(evt){