1

Looking to setup a public facing, launchpad page that lists out all of the user accounts with a 1 click login.

I realize the security implications of such a page but we need something like this to rapidly test multiple accounts different sections of the site.

What's the best way to create something like this?

2

As long as you're already aware of the security implications. :)

Write a simple plugin that exposes a controller action where you pass in the user's ID to it.

All that action does is call:

craft()->userSession->loginUserById($userId);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.