cello icon indicating copy to clipboard operation
cello copied to clipboard

How to log in to the admin account?You will be prompted with an incorrect email address

Open qkd90 opened this issue 3 years ago • 5 comments

image

qkd90 avatar Mar 03 '22 09:03 qkd90

What about just register a new account?

salikzquidz avatar Mar 03 '22 16:03 salikzquidz

What about just register a new account?

But I need an administrator account, how can a normal account become an administrator's permission?

qkd90 avatar Mar 04 '22 03:03 qkd90

请问解决了吗这个问题我也是相同的问题,注册用户登录不能创建节点,不知道是不是需要管理员登陆

vectorccc avatar Mar 30 '22 06:03 vectorccc

when you register a user the default role is admin. You can check that with this api get call in browser http://localhost:8081/api/v1/users?format=json/

image

and the default admin and pass are not working because the email is not configured properly see in line 17, 17. change the email from admin@cello => [email protected] and run all the make commands then the creds [email protected], pass should work but as there is not default organisation you will see a blank page like below

image

so I feel the line admin@cello is intestinal

BJSam avatar Apr 11 '22 05:04 BJSam

Run into api_engine CONTAINER:

export [email protected]

python manage.py create_user
--username ${ADMIN_USERNAME:-admin}
--password ${ADMIN_PASSWORD:-pass}
--email ${ADMIN_EMAIL:-admin@cello}
--is_superuser
--role admin

aesirteam avatar May 13 '22 05:05 aesirteam