dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24658
Re: Why is admin/district no longer available for an empty DB??
Hi Lai, it should be ok to add it, but it seems we have lost the admin
user. Also, you would need to encrypt the password, and not store it as
plain text in the db, that does not work for logging in.
k
On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai
<lai.hispvietnam@xxxxxxxxx>wrote:
> Hi Knut,
> I have added anonymous user recently. The system will create anonymous
> user whenever tomcat starts. I am not sure whether this may cause the login
> fail with admin account. I will remove it, and let's see if this bug still
> exist
>
> Regards,
> Lai
>
>
> On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Ok, I also tried trunk with an empty db now, and like Easy says, all you
>> get is a user called anonymous. I have no idea what the password would be,
>> it is listed as "anonymous" in the encrypted field of the db
>>
>> This seems like a newly introduced bug?
>>
>> Knut
>>
>> On Mon, Sep 16, 2013 at 3:33 PM, easy <lin_xd@xxxxxxx> wrote:
>>
>>> Hi,sir,
>>>
>>> I can't login into system after startup. using trunk version, empty
>>> DB.
>>> anter enter password, no responese, url changed into:
>>>
>>>
>>> http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true
>>>
>>>
>>>
>>> --
>>> 此致
>>>
>>> easy
>>>
>>> 莫愁前路无知己,天下谁人不识君。
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> +4791880522
>> http://dhis2.org
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lai
> Dhis Mobile
> +84944485878
>
--
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
Follow ups
References