LodestoneHQ / lodestone

Personal Document Archiving (DMS, EDMS for Personal/Home Office use)
https://forms.gle/u1RXnbocbFWqfxGb9
GNU General Public License v3.0
521 stars 28 forks source link

Account management system. #15

Open AnalogJ opened 5 years ago

AnalogJ commented 5 years ago

Currently anyone with the url can login to Lodestone.

den747 commented 4 years ago

The README makes it clear that its for personal use at home so I think using basic auth should be fine for now.

# Declaring the user list
#
# Note: all dollar signs in the hash need to be doubled for escaping.
# To create user:password pair, it's possible to use this command:
# echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g
labels:
  - "traefik.http.middlewares.test-auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0"

https://docs.traefik.io/v2.0/middlewares/basicauth/

PS: Love this project, lots of stuff already working for a beta1!

LilTrublMakr commented 4 years ago

Account support would be nice. I have mine behind basic auth via Traefik V1 in the meantime just for a little bit of security.