Can't login with admin accounts

153 views
Skip to first unread message

Eduardo Clark

unread,
May 30, 2016, 7:14:53 PM5/30/16
to rapidpro-dev
Hello,

I created a development instance of rapidpro in a local machine, I go through the steps to generate a superuser  through $ python manage.py createsuperuser  but when I try to log in it doesn't recognize my user and password.

Alternatively I also generated a user through creating and organization and used the same credentials as super user. Now I can log in but cant reach to admin users, http://url/users/user/ I log in but it gets stuck in , http://url/users/login/?next=/users/user/ .

Any help will be greatly appreciated

Nic Pottier

unread,
May 31, 2016, 3:08:24 PM5/31/16
to Eduardo Clark, rapidpro-dev
Hi Eduardo,

A superuser account should definitely be recognized as a way of logging in. Not sure what is going there, maybe try running a shell to check what user accounts really exist?

The user management does need to be done by either a superuser or a user in the "Customer Support" group, so that's why you are getting a redirect when trying to access that page.

-Nic

--
You received this message because you are subscribed to the Google Groups "rapidpro-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro-dev...@googlegroups.com.
To post to this group, send email to rapidp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rapidpro-dev/6fe6a77f-fc5a-407e-b1e8-431d09e66a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eduardo Clark

unread,
Jun 1, 2016, 2:23:04 AM6/1/16
to rapidpro-dev
Hey Nick,

Not sure what is happening. We changed the user permision in postgres as per this answer (https://github.com/rapidpro/rapidpro/issues/243). We even reinstalled and found the same problem.
Reply all
Reply to author
Forward
0 new messages