You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using session-based authentication, then make sure to switch the session driver to an in-memory store.
256
-
257
-
```dotenv
258
-
// title: .env.test
259
-
SESSION_DRIVER=memory
260
-
```
255
+
If you are using session-based authentication, make sure to also set up the session plugin. See [Populating session store - Setup](#setup-1).
261
256
262
257
That's all. Now, you may login users using the `loginAs` method. The method accepts the user object as the only argument and marks the user as logged in the current browser context.
0 commit comments