joe_g Posted October 29, 2014 Share Posted October 29, 2014 Hi there, Locally I can only be logged in to one PW install at a time. It's becoming a bit cumbersome, since I'm juggling about five different project at a time (all PW installs), so every time i switch project I need to login again. Is there any way to avoid this? thanks!, J Link to comment Share on other sites More sharing options...
Ole Posted October 29, 2014 Share Posted October 29, 2014 I had this problem as well and solved this by using subdomains for every project. Works fine. Link to comment Share on other sites More sharing options...
Soma Posted October 29, 2014 Share Posted October 29, 2014 Add this to your site/template/admin.php before the require() line in there $whitelist = array( '127.0.0.1' ); if(in_array($_SERVER['REMOTE_ADDR'], $whitelist)){ if(!$user->isLoggedin()) $session->login("admin", "xxx"); } 6 Link to comment Share on other sites More sharing options...
PhotoWebMax Posted October 29, 2014 Share Posted October 29, 2014 Same exact issue - will have to try this... Link to comment Share on other sites More sharing options...
muzzer Posted October 29, 2014 Share Posted October 29, 2014 Also (this may be helpful), I find it sweet to use multiple users (or profiles) in Chrome. Because each instance has its own session storage you can be logged in in one instance of Chrome and logged out in the second, so you see both the admin and client versions of the website you are developing (assuming they differ) without having to constantly login/logout. . 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now