setUserObjectAndGenerateRoomHash works as expected and generates valid hash. Exception occurs at the time the hash is used. Will fix it today
On Wed, Jan 23, 2013 at 4:54 PM, Artyom Horuzhenko <[email protected]>wrote: > Whole method was added by Maxim. > > 2013/1/23 Alexei Fedotov <[email protected]>: > > Maxim, > > > > There is a problem with this call - in a different place > > updatePassword is called with password = "". This gives an exception. > > > > How can we resolve this. > > > > Artyom, > > was this new check added by Maxim? > > > > > > > > On Wed, Jan 23, 2013 at 1:45 PM, Artyom Horuzhenko <[email protected]> > wrote: > >> Maxim, please have a look at the "updatePassword" method at the > >> "Users" class. There is a password length check: > >> > >> if (pass == null || pass.length() < userPassMinimumLength) { > >> throw new RuntimeException("Password of invalid length is > provided"); > >> } > > > > > > > > -- > > With best regards / с наилучшими пожеланиями, > > Alexei Fedotov / Алексей Федотов, > > http://dataved.ru/ > > +7 916 562 8095 > -- WBR Maxim aka solomax
