PeeHaa / OpCacheGUI

GUI for PHP's OpCache
1.46k stars 170 forks source link

deactivate user authentication #61

Closed tessus closed 9 years ago

tessus commented 9 years ago

I understand that user authentication is important.

However, it is rather annoying and useless, if you are running this web app via a reverse proxy already protected by Apache authentication. There should be a way to deactivate user authentication, similar to deactivating the whitelist.

P.S.: Btw, great GUI, nice features, great app.

PeeHaa commented 9 years ago

@tessus If you clear the username in the init file (e.g. empty string or null) you should bypass user authentication.

https://github.com/PeeHaa/OpCacheGUI/blob/master/src/OpCacheGUI/Auth/User.php#L69

tessus commented 9 years ago

Ah, perfect, thanks. I removed the entire stanza and got an error. Stupid me, I could have thought of trying to set it to an empty string. Thanks again.