th3-z / kf2-magicked-admin

:spider: Mutator-free management, statistics, and in-game bot for ranked Killing Floor 2 servers
https://kf2-ma.th3-z.xyz
MIT License
32 stars 7 forks source link

[FEATURE] Allow http basic auth on web admin panel #149

Closed n1ouk closed 4 years ago

n1ouk commented 4 years ago

Is your feature request related to a problem? Please describe. I use another script on my servers and it require to have http auth configured in the web admin Magicked-admin can't connect this way :

[*] Web admin not responding, sleeping

Describe the solution you'd like An option for http auth (a line in magicked_admin.confor a global option)

Additional context https://i.imgur.com/j8lZSB8.png

th3-z commented 4 years ago

Hi, thanks for the feature request. I didn't even realise this option existed.

I've added this feature in branch 0.1.6 (884042c49809e8f803031881e8dc72ce17ff8306, 663e9f1d55d1af2c44499052775887b7fa1ecae5).

I had it automatically detect the authentication method rather than adding a configuration option. It should just work transparently now, at least it is for me. If you know how to run the dev code, please do let me know if that's working for you.

th3-z commented 4 years ago

Additionally if this is the script you are using, the functionality could be added to kf2-ma without too much work. kf2-ma used to have this feature but it was dropped after prestige ranks were added.

n1ouk commented 4 years ago

I've tested the new web_interface.py, it's working well with both identifications types simultaneously on 2x12 servers.

Thanks =p

th3-z commented 4 years ago

Nice, I'm glad it is working for you, I'll close the issue now. The changes will be included in the next release 0.1.6.