mescon / Muximux

A lightweight way to manage your HTPC
GNU General Public License v2.0
1.14k stars 82 forks source link

Update login.php #181

Closed ndom91 closed 6 years ago

ndom91 commented 6 years ago

First of all fixed the failed login write_log. For me at least it would always write "0" to the log, no matter what.

So it is now working and printing the IP of the failed login. This is much more useful in my opinion, as it can then be used in conjunction with fail2ban, for example.

mescon commented 6 years ago

Please rebase to the develop branch and I'd be happy to merge!

ndom91 commented 6 years ago

Thanks! I think I pulled in another commit in my rebase by accident, but it was just some comments to PFSense it looks like. Sorry! Not super experienced with git usage yet :)