sander_ha

@wmk Indeed disabling cookie error reporting allowed me to simply login a admin user and log out..

sander_ha

@wmk I'll try that aswell @firesphere What do you think is the best solution?

sander_ha

@firesphere Indeed, tried looking in that class but couldnt find anything. Seems Member handles all logging in in ss3

sander_ha

SilverStripe seems to attempt at setting a cookie in the cli env

sander_ha

No if I try to run the task via cli, I get an error when Member::login() is called

sander_ha

resulting in Uncaught LogicException: Cookie 'alc_enc' can't be set.

sander_ha

That method calls Member::logIn() which tries to set a cookie