Skip to content

Commit 32459e1

Browse files
- enhancement: updated sim data based on service endpoint requirements
1 parent 4a3bd09 commit 32459e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/data/imapuser/ajax/sim/auth/AuthenticationSim.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Ext.define('conjoon.dev.cn_imapusersim.data.imapuser.ajax.sim.auth.Authenticatio
4949
ret = {}
5050

5151
ret.responseText = Ext.JSON.encode({
52+
success : true,
5253
data : {
5354
firstname : 'John',
5455
lastname : 'Smith',
@@ -67,6 +68,9 @@ Ext.define('conjoon.dev.cn_imapusersim.data.imapuser.ajax.sim.auth.Authenticatio
6768
});
6869

6970
if (username === "TESTFAIL") {
71+
ret.responseText = Ext.JSON.encode({
72+
success : false
73+
});
7074
ret.status = 401;
7175
}
7276

0 commit comments

Comments
 (0)