Comments (3)
As far as I know, the first user isn't really "admin".
Admin username is managed through ANONADDY_ADMIN_USERNAME
env var.
Therefore the command to seed the db should probably renamed to "add users" and take user & password as arguments (or a file containing them).
I prefer to let the user create the initial user via the db:seed command for now because there is no other way to do that programmatically. I think it would be better to open an issue on the official repository to have an install command through php artisan like flarum does.
from docker.
I agree overall with the approach. Per the maintainer of the official repository, the ANONADDY_ADMIN_USERNAME env file should be set after the db:seed (in case you change the username). So either db::seed takes into account the env variable, or it should be as hardcoded as the db:seed command.
I put the issue here because the php file for seeding is included in the docker image (I suppose you derived it from upstream), so I though it would be needed to change here.
from docker.
I put the issue here because the php file for seeding is included in the docker image (I suppose you derived it from upstream), so I though it would be needed to change here.
It's a dirty workaround ;)
from docker.
Related Issues (20)
- Disable sender's host check on Helo
- Update to latest version after rebranding to addy HOT 2
- The value of CNAME changes in the error. HOT 1
- Suddenly not receiving mails anymore HOT 3
- Unable to connect to 127.0.0.1:25 HOT 1
- Second domain no DKIM signing HOT 5
- I cant send reply/send email from aliases HOT 3
- Update to v1.x HOT 6
- catch-all behavior related to ANONADDY_ALL_DOMAINS
- ViewClearCommand.php line 59: Error bootloop
- Unable to sign emails as integrated GPG doesn't allow GPG keys without passphrases HOT 1
- Update on portainer HOT 4
- warning: cannot get RSA certificate from file "/home/USER/anonaddy/TLS.key": disabling TLS support HOT 1
- Emails from certain senders not being forwarded HOT 19
- "This email was sent to ..." notice NOT removed HOT 2
- Flooded by "end-of-input while reading request from tlsmgr socket: Broken pipe" HOT 6
- Emails encrypted with Addy.io cannot be decrypted by open-keychain HOT 2
- View [mail.reset_password] not found. HOT 7
- Possible issues with Docker setup HOT 9
- Header about spoofed or improperly forwarded mail, `X-AnonAddy-Authentication-Results` looks fine HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.