psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.48k stars 216 forks source link

Upload Pass #195

Closed chrissthedrummer closed 2 years ago

chrissthedrummer commented 2 years ago

Can anyone help me understand how UloadPass works- which function checking if password is valid?

psi-4ward commented 2 years ago

https://github.com/psi-4ward/psitransfer/blob/c438d5b839d3bf2277e246b462e740e016ea62ba/lib/endpoints.js#L298 It's in the x-passwd header