Mojo 8 Share Posted February 12, 2019 So im trying to get the login response for disabled/locked accounts. Each time It only returns the same value. I cant tell if either is happening... c.log(String.valueOf(script.getClient().getMessage1().toLowerCase()+"||1")); c.log(String.valueOf(script.getClient().getLoginResponse()) + "||LOGIN INDEX3"); c.log(String.valueOf(script.getClient().getLoginIndex()) + "|| V2 LOGIN INDEX"); c.log(String.valueOf(script.getClient().getLoginResponse().getSeverity()) + "|| V3 LOGIN INDEX"); c.log(String.valueOf(script.getClient().getLoginResponse().name()) + "|| V4 LOGIN NAME"); Its making it look like locked and disabled are same thing and I dont know how to get the text value instead so i can go from string. JavaDocs on this isnt very clear on what to do as well... Pls help ty @Nuclear Nezz Link to comment Share on other sites More sharing options...
DefCon 121 Share Posted March 22, 2019 @Nuclear NezzNezzNezztNezzNe Link to comment Share on other sites More sharing options...
DefCon 121 Share Posted March 22, 2019 <code> Not sure if that function returns an enum but if it does then you might try toString() </code> Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted March 25, 2019 On 3/21/2019 at 10:40 PM, DefCon said: @Nuclear NezzNezzNezztNezzNe Why did I get tagged in this They changed how disabled and locked are handled, they're the same login response and they stopped setting vars on the login response text. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.