password
This commit is contained in:
parent
1e33ae2534
commit
9ff37d7a06
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue