X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Login.js;h=1510519a06c0b7e1ae54a69cea26e011584fd2b3;hb=4df64e2b4ba9713ba98047fd757af55399b121f8;hp=e6a2846f80bf0243200ebe85a82c26afd88785af;hpb=5ab1dcc0dfcf8975257b113ba5487e438c0384d6;p=Pman.Core diff --git a/Pman.Login.js b/Pman.Login.js index e6a2846f..1510519a 100644 --- a/Pman.Login.js +++ b/Pman.Login.js @@ -57,6 +57,8 @@ Pman.Login = new Roo.util.Observable({ //console.log('call failure'); return Pman.Login.failure(response,opts); } + + if (!res.data.id) { // id=0 == login failure. return this.show(true); }