Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you add an option to automatically create an admin using environment variables? #935

Open
aelogonpin opened this issue Sep 4, 2024 · 0 comments

Comments

@aelogonpin
Copy link

Hi there! 👋

I'm using Remotely for personal testing and stuff. I've noticed that every time I run tests and the database gets lost or deleted, I also lose the admin user. 😅

It would be super helpful if there was a way to automatically create an admin user using environment variables. For example, something like ADMIN_EMAIL and ADMIN_PASSWORD, so that when the server starts, it automatically creates an admin if these values are set.

This would save me time every time I run tests and have to start from scratch, recreating the user every time. Just an idea that I think could help others in a similar situation. 😉

Thanks for reading and considering this. It would be awesome!

Cheers,
IPnotics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant