mickael-kerjean / filestash

🦄 A file manager / web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ...
https://www.filestash.app/
GNU Affero General Public License v3.0
10.49k stars 775 forks source link

Password in attribute mapping cannot be changed #598

Open raduci68 opened 1 year ago

raduci68 commented 1 year ago

Hi! I am trying to use filestash as a frontend to an FTP server with passthrough authentication. I have filled the attributte mapping, the FTP backend selected with server address and port but my problem is that the password field is prefilled with admin password. even if I delete this password is still saved and sent in the authentication window for the clients no matter what I type in this field. Installation is made in Docker using the latest version. Is this the normal behavior or am I doing something wrong? Thank you! Screenshot 2023-05-01 161542

delestro commented 1 year ago

Maybe you were having the same issue as me.

I took a long time to understand that you need to literally write {{ .user }} in the Username field, and {{ .password }} in the Password field. This way, the credentials the user type on the login page will actually be used by the passthrough plugin.

In my opinion, it would be way more intuitive if this behavior were achieved by leaving the fields blank in the config.