Comments (5)
Hi @99MengXin , thanks for the PR.
One thing I don't want is to force users (especially me) to have to log in all of the time. Would this code change make that happen, or is there a clever way that we can work around it? (e.g., if the USER and PASSWORD are missing from the .env file, don't require a login.) Or, does this merely need to be documented somewhere on the WIKI?
Cheers!
from lute.
Hi @jzohrab ,
- The username can't be empty.
- You need log in only at the first time, it's difficult to log out actually. That's why we need use incognito window to log in every time. See http - How to log out user from web site using BASIC authentication? - Stack Overflow
from lute.
Got it, thanks. So, what should I do with this info? I wonder if I should just put a note in the wiki, with some comments in the .env.example*
files. I don't want to make this the default behaviour for the app, I know that I'll find it annoying. :-)
If you're OK with just wiki, that's super. There might be other possibilities (e.g., a special "APP_ENV=secure" or something in the .env file, and then mucking around with the configuration .yml file, per notes in https://symfony.com/doc/current/configuration.html), but I'm not sure if it will work out.
from lute.
I'm OK with wiki, just let people know there is way to secure.
Users can follow this instruction and add the feature by themself.
from lute.
Thanks very much @99MengXin for getting this started. I simplified the file a bit and committed it to the develop
branch, and added notes to the wiki about config (https://github.com/jzohrab/lute/wiki/Security). I'll use this for a bit and see how it goes, and will try it out again when I make release 2.0.1. Thanks!
from lute.
Related Issues (20)
- Error on import: "...Integrity constraint violation: 19 UNIQUE constraint failed: words.WoTextLC, words.WoLgID" HOT 1
- Change how Lute displays overlapping Terms, so that words/characters aren't written twice
- Bust javascript cache on release HOT 1
- Raspberry Pi installation fails HOT 3
- Stats wrong for Chinese text HOT 5
- Japanese ctrl-c not respecting paragraphs HOT 2
- Ability to remove "Mark rest as known" button HOT 4
- Creating a registry for the app image in docker hub is possible? HOT 2
- Missing る in texts HOT 2
- Support multiple parents HOT 2
- Preserve term case for German nouns HOT 3
- Broken RTL languages support. HOT 9
- Bare metal install throws unless MeCab is installed? HOT 1
- [Bug] Turkish İi Iı casing problem HOT 8
- Fix Windows GitHub CI HOT 4
- Hover window sometimes gets stuck HOT 4
- Consider different way of handling "reset" after demo HOT 1
- Image can't be selected if the "border" pushes it to a new line HOT 3
- Changing case of Turkish words not working HOT 3
- Fatal error after container install HOT 7
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 lute.