Comments (4)
Hello – yeah, this is because when laravel reads the config-file helpers like trans()
, view()
, session()
etc. hasn't been loaded yet.
But I do see your issue – having a translatable string available to the users are perhaps useful. I'll see what I can come up with.
from l5-very-basic-auth.
A new version is up (2.1.0, link – packagist should update shortly too) which adds the ability to set a view for the response to the user.
In this view you can use the trans()
-method among other things.
Please try it out and file a ticket if you run into any issues.
from l5-very-basic-auth.
Confirmed working.
Thank you for taking the time. I'm sure others will benefit from this too!
from l5-very-basic-auth.
Great – you're welcome =)
from l5-very-basic-auth.
Related Issues (15)
- Update for Laravel 5.4 HOT 1
- 従業員求む。 HOT 5
- Issues with documentation
- PHP 7 support / issue HOT 6
- Request - Config & Inline Credentials HOT 7
- Disable prompting for authentication details HOT 6
- Random password
- PHP 8 HOT 1
- Stuck in authentication loop HOT 9
- Support for encrypted password HOT 2
- Laravel Debugbar is injecting itself even on Unauthorized access responses HOT 5
- Issues with Apache/CGI-combo HOT 1
- Error - Failed to open stream: Permission denied HOT 3
- [Info] Can't load page using very-basic-auth at all on emphaty browser on raspberry pi one Model B HOT 2
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 l5-very-basic-auth.