Had the same issue
My MBP (2017 tbar) kept restarting just after log in, even in safe mode.
I reinstalled OS and it started working fine again but just after 2 days same issue.
HAd to format and install from scratch. Now seems to be working fine
Topic:
App & System Services
SubTopic:
Core OS
Tags: