I had a mate of mine skin the hell out of my local version so unfortunately the CSS might be a little funky. I think he is going to upload his skin in a few days or so…
That’s nice. The CSS is fixed, had to reapply my tweaks to the login.page.php. I had to go through the upgrade since I had 1 or 2 users that were sometimes able to get in and sometimes they weren’t able to. They are entering the correct credentials (haven’t tested this new version with them yet) but the page would just reset for them to enter their credentials again (sometimes this works, sometimes it doesn’t).
Your default theme is working for the login page, mine is customized with the video and also the ability for users to log in with either a username or email.
Quick question how do I call muximux’s index.php (which is in a different directory) locally, since you’ve changed the code from “header” to “requirement” in the rememberme.php when calling main.page.php.
muximux and plexauth folders both sit in my base folder for (usr/share/nginx/html/)
usr/share/nginx/html/plexauth/index.php
usr/share/nginx/html/muximux/index.php
using your old line still works but I want to see if there’s an alternative, using your new require calls.
then in the new require line just added:** require($PATH);**
it then throws me this error: ‘/usr/share/nginx/html/muximux/index.php/tokens’ does not exist or is not writable by the web server. To run the example, please create the directory and give it the correct permissions.
got it working with replacing line 74 of rememberme.php:
require(‘main.page.php’);
to:
header(“Location: https://muximuxdomain.com/index.php”, true, 302); exit;
Doing the header method is fine. You could also just replace the contents of main.page.php with header("Location: https://domain.com.index.php"); which should work also. Essentially all you are doing is redirecting the user back to your main page.
Yes, thanks for the tip. After extensive testing there’s like a 10% success rate when people try to log in with their username opposed to email. Great tool though.
Yes, I do also believe some of the rules of CloudFlare WAF (web app firewall at the cloud level) are impacting the process. Since Fail2Ban is made essentially useless, CloudFlare’s WAF made sense for additional protection, hopefully PLEX adds two factor one day as well. I had some users also test out the solution in incognito mode, for example in the mobile app Dolphin Zero upon successful login you will be brought to a blank tab. If you re-enter the original domain, it then allow you in since you were successful etc. Lastly, regarding your question, I can login with my username just fine but that’s not the case with others, it’s weird. Thanks.
@hjone72 said:
Thanks for that. I’ve fixed the extra bracket.
I had a mate of mine skin the hell out of my local version so unfortunately the CSS might be a little funky. I think he is going to upload his skin in a few days or so…