Comments (8)
Hi,
Could be a cache issue. Run php artisan config:clear
in a terminal (or delete the content of /2fauth/storage/framework/cache/
)
from 2fauth.
It seems that env vars set in the docker-compose file directly are evaluate lately. You should consider using a docker.env file, see https://stackoverflow.com/questions/33107164/docker-compose-not-setting-environment-variables
from 2fauth.
Damn, I just realized that changing APP_NAME
won't change anything, the string Welcome to 2FAuth is hard-coded in the translation files 😄
I will make the necessary change 👍🏻
from 2fauth.
Hi,
Finally I've decided to not make any change. The word '2FAuth' appears in many places throughout app, not all occurrences can be overridden because some sentences would be less relevant. I don't want the UI to be inconsistent or the 2FAuth name to be totally removed.
from 2fauth.
php artisan config:clear
yelds that cache cleared successfully, then I stopped container, cleared my browser cache once again, started container, yet new APP_NAME didn't apply :)
from 2fauth.
How do you set the APP_NAME
var? In the docker-compose file or via a -e
option when you start the container?
from 2fauth.
by docker-compose, like this
...............................................
`version: "3"
services:
2fauth:
image: 2fauth/2fauth
restart: unless-stopped
container_name: 2fauth
volumes:
- 2fauth:/2fauth
ports:
- 19080:8000/tcp
environment:
- APP_NAME=2FactorPassword
- APP_ENV=local
- APP_DEBUG=false`
........................................
from 2fauth.
I'm using Portainer UI for managing Docker, put docker.env with the variable in a folder where Portainer created docker-compose.yml for 2FAuth, then added
env_file: docker.env
in docker compose definition
then again
php artisan config:clear
and updating stack (which means stop, rereading docker compose, start again)
but no effect..
Now I'll leave it as it is, don't wanna mess much outside portainer just for some minor correction :)
Thank you much for the help and especially for the app itself, it's awesome!
from 2fauth.
Related Issues (20)
- Secret Type Format
- Blank screen after update from 5.0.3 to 5.0.4 HOT 10
- "Check now" button is untranslatable HOT 1
- Add a route to clear cache from browser
- Add a "keep SSO registration enabled" setting HOT 1
- Cannot access database after upgrading v3 to v5 (self host to docker) --> No account found using this email. HOT 3
- app/Policies/OwnershipTrait contains a bug, i think HOT 9
- Add support for FreeOPT+ json exports HOT 1
- Can't decipher codes after updating to 5.1.0 HOT 17
- 5.1 SSO: Authentication via SSO rejected HOT 8
- Admin panel not working when using security device
- "Keep SSO registration enabled" is not saved
- Add pagination to /accounts page HOT 4
- Last admin can demote to user, leaving the instance administratorless
- Accounts visibility HOT 1
- Add ipv6 in nginx config
- web static assets visit path is localhost HOT 5
- Self Hosted Docker Compose Install - Blank Home Page HOT 9
- Migrate 2fauth to a new server HOT 2
- TypeError: a is null
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 2fauth.