mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Added User password_reset spec and some refactor
*Make returned error in errors array *Use constants
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
Ext.Msg.alert("Success", "New Password: "+data.password);
|
||||
},
|
||||
error: function(data,textStatus) {
|
||||
Ext.Msg.alert( "Error", JSON.parse(data.responseText)["error"]);
|
||||
Ext.Msg.alert( "Error", JSON.parse(data.responseText)["errors"][0]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user