sambecker / exif-photo-blog

Photo blog, reporting 🤓 EXIF camera details (aperture, shutter speed, ISO) for each image.
https://photos.sambecker.com
685 stars 108 forks source link

Is it possible to add multiple administrator accounts? #45

Closed Lightingzahi closed 7 months ago

Lightingzahi commented 7 months ago

I have a few pals who would like to upload photos to this photo blog as well.

sambecker commented 7 months ago

Eventually, we may want a more sophisticated authentication system (possibly based on Github handles), which would allow for multiple admins, and possibly social features where verification/screening becomes important. Will keep this request in mind.

In the meantime, you can always adjust the code, which is basically an ENV VAR lookup to accommodate multiple pairs. This logic can be found here: https://github.com/sambecker/exif-photo-blog/blob/main/src/auth/index.ts