Macbook PRO M1 pro shuts down after login
Hi, I have a problem with my MacBook Pro M1 Pro. I bought it in 2022, and now, when I type my password, it shuts down immediately and does not turn on again, even if I press the power button. For the MacBook to turn on again, I need to plug in the charger. This error always occurs the same way: after typing my password and pressing enter, the MacBook shuts down.