# Migration v5

Contains 1 breaking change of the SDK interface.

## Changes

- [login](#login)

### login

- Instead of just returning the `FTSession_s` cookie, now returns an Array containing cookie config for both `FTSession` and `FTSession_s` cookies.

```javascript
const cookies = authorisation.login(email, password, rememberMe);
for (const cookie of cookies) {
  // Using express:
	res.cookie(cookie.key, cookie.token, cookie.options);
}
```
