YunoHost-Apps / microbin_ynh

Microbin package for YunoHost
https://microbin.eu/
GNU General Public License v3.0
0 stars 2 forks source link

admin password not right #11

Open asandikci opened 2 weeks ago

asandikci commented 2 weeks ago

admin password typed while installing microbin to my server are not matching with the admin password for the app itself. .env file of the app has __PASSWORD__ inside (myactualpassword --> myact__PASSWORD__ualpassword)and I don't know why? How to solve this problem? And why Yunohost (or app while installation) adds this text to password (I saw several times this in other yunohost apps too (yourls for example))

Thanks in advance @ericgaspar (sorry for the ping, I know you are busy with new yunohost 12 update/migration but I guess problem is not related to this app only, so I want to why this occurs. Maybe I can help with fixing yunohost apps has this problem after it)

extra info: password is 64 lenght long and includes special chars: *, #, $, @, ^, %. I don't know if its related to problem

ericgaspar commented 2 weeks ago

Are you saying that __PASSWORD__ in the .env file has not been replaced by your password?

(I have installed the app and I can connect to /adminwith the password I gave during install...)

asandikci commented 2 weeks ago

interesting, I mean this: myactualpassword --> myact__PASSWORD__ualpassword

asandikci commented 2 weeks ago

image @ericgaspar

asandikci commented 2 weeks ago

I found the problem, & char is changing with PASSWORD interestingly...

this&is&apassword --> this__PASSWORD__is__PASSWORD__apassword

@ericgaspar

asandikci commented 2 weeks ago

yourls also has this problem (tested) Probably there is a problem with parser? Maybe & should be added to invalid chars?