n4ze3m / dialoqbase

Create chatbots with ease
https://dialoqbase.n4ze3m.com/
MIT License
1.6k stars 264 forks source link

change administrator login and password #162

Closed ferstpetr777 closed 10 months ago

ferstpetr777 commented 10 months ago

Nazeeem , I changed it in the service and didn't save it and now I can't log in. please tell me, where in the code, in what place can I change administrator login and password ?

n4ze3m commented 10 months ago

Go to postgres db: Select the 'User' table -> Find the admin user -> Edit and give a default password ('$2a$12$zY2slOG8LUQwzAkMQcooM.UVr0ArR/P0xD.8tyLIMs7Gevx5xHUI6').

n4ze3m commented 10 months ago

If you are using the application without Docker, then go to the server, hit 'yarn prisma studio', which opens a query studio. Select the 'User' table, edit the admin user, and provide the default password hash

ferstpetr777 commented 10 months ago

Thank you very much ! already found it, changed it ).... . Thank you for your help!