Tagged: auto login
January 9, 2022 at 9:08 am #84061terry2Participant
Is there a way I could login as one of my eMember users without their password?
The reason is that there are some other plugins that offer features (such as order creation) that are only available from the front-end (end user login). Sometimes I get requests from my customers to place the order for them so I need to login as them to do that.
I have tried some third-party “login as user” plugins but wierd things happen. It’s as though I’m still logged in as admin and not the eMember user. I do have the eMember ‘login as WP user also’ option checked.
I also tried the simple code at https://tourkick.com/advice-tips-howto/wordpress-instant-demo-multisite/
After changing add_action( ‘wp’, ‘auto_login’, 1 ) to add_action( ‘wp’, ‘auto_login’) it seemed to log me in as a WP user but emember didn’t recognize me.
=> Is there something I can add to that code that will auto-login me as the eMember user too?
Thank you.January 9, 2022 at 6:17 pm #84063wzpModerator
Sometimes I get requests from my customers to place the order for them so I need to login as them to do that.
To put it very gently, you are setting yourself up for future legal, financial, and ethical headaches. If customers require some sort of assistance; offer to use something like Chrome Remote Desktop, to hand-hold them through the ordering process.
Alternatively,, if you are using eStore, you can use a manual order placement process; to enter orders for them.
The point is… Never, EVER, try to impersonate one of your users.January 10, 2022 at 5:25 am #84067adminKeymaster
We don’t have something like that. Our plugin is really for customers doing their own transactions. You would need to log into their account using their username and password.
The customer should really do the transaction to make sure the payment is not triggered as a fraud by the credit card company or the payment gateway. You can get them to do the transaction then you can manually adjust things from the admin interface (like create a member account manually from the admin dashboard).
The WP login solutions you referred to, can be used if you use the following WP user integration option (this is an optional feature).January 10, 2022 at 7:30 am #84069terry2Participant
After re-reading my original post I see I should have worded it better. I should have said ‘create a quote’ which corresponds to ‘Create Order’ menu item for the end-user.
There’s no way I would ever place a financial transaction on behalf of someone.
Thanks for your follow-up.
- You must be logged in to reply to this topic.