They should be different. Bcrypt (or any sane pw hashing scheme for that matter) uses a random salt per run (which is embedded in the resulting string).
2015-09-01 11:06 GMT+02:00 Knut Staring <[email protected]>: > Excellent. However, why is this different from the password discussed in > Gerald's thread with Alan and Jason? > > $2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2 > $2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C > > Knut > > On Tue, Sep 1, 2015 at 11:00 AM, channara rin <[email protected]> > wrote: > >> Yes, now it work fine >> >> thank Lars, Morten >> >> On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland <[email protected]> >> wrote: >> >>> Hi Channara, >>> >>> do this to set password to district for user admin: >>> >>> update users set >>> password='$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C' >>> where username='admin'; >>> >>> Then restart tomcat to make sure the application cache is cleared. >>> >>> Then log in with admin/district. >>> >>> regards, >>> >>> Lars >>> >>> >>> >>> On Tue, Sep 1, 2015 at 10:17 AM, channara rin <[email protected]> >>> wrote: >>> >>>> No! i don't have any account more. >>>> >>>> On Tue, Sep 1, 2015 at 3:13 PM, channara rin <[email protected]> >>>> wrote: >>>> >>>>> But it still display log-in page. >>>>> >>>>> On Tue, Sep 1, 2015 at 3:13 PM, channara rin <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Morten, >>>>>> I go to database schema and change value of attribute: "Password" to >>>>>> value:"*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2* >>>>>> "="district" >>>>>> >>>>>> >>>>>> On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> That error message just means wrong password.. bad credentials >>>>>>> >>>>>>> -- >>>>>>> Morten >>>>>>> >>>>>>> On Tue, Sep 1, 2015 at 2:51 PM, channara rin <[email protected] >>>>>>> > wrote: >>>>>>> >>>>>>>> Hi all dhis2, >>>>>>>> Can you help me what is problem login page, i can't log in with >>>>>>>> admin account. What should i do? >>>>>>>> [image: Inline image 1] >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs >>>>>>>> Post to : [email protected] >>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs >>>>>>>> More help : https://help.launchpad.net/ListHelp >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~dhis2-devs >>>> Post to : [email protected] >>>> Unsubscribe : https://launchpad.net/~dhis2-devs >>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> >>> >>> >>> -- >>> Lars Helge Øverland >>> Lead developer, DHIS 2 >>> University of Oslo >>> Skype: larshelgeoverland >>> http://www.dhis2.org <https://www.dhis2.org> >>> >>> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> > > > -- > Knut Staring > Dept. of Informatics, University of Oslo > Norway: +4791880522 > Skype: knutstar > http://dhis2.org > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

