← Back to team overview

dhis2-users team mailing list archive

Re: Editing Usernames

 

Thanks Bob and Lars for making it clear. since its encode and save using username, the logic can`t work.

More thanks! 




________________________________



Muhire Andrew

HMIS/Ministry of Health
First say to yourself what you would be; and then do what you have to do..



________________________________
 From: Lars Helge Øverland <larshelge@xxxxxxxxx>
To: Bob Jolliffe <bobjolliffe@xxxxxxxxx> 
Cc: Muhire Andrew <muhireandrew@xxxxxxxxx>; "dhis2-users@xxxxxxxxxxxxxxxxxxx" <dhis2-users@xxxxxxxxxxxxxxxxxxx> 
Sent: Thursday, August 30, 2012 12:26 PM
Subject: Re: [Dhis2-users] Editing Usernames
 
On Thu, Aug 30, 2012 at 11:22 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> Hi Andrew
>
> A problem with modifying the username is that the password hash is
> also encoded and saved using the username as part of the hash
> algorithm.  So in order to modify the username you would also need to
> reenter the password in order for it to be re-encoded.  This might be
> problematic - even superusers don't necessarily know the passwords of
> the users.
>

Yes. I also think it is bad practice to change user names. You can
always fall back to creating a new user...

Lars

References