cannot log into icloud on my macbook
I go to system preferences to login to icloud. I enter appleid then I enter my password it starts to process information 30 seconds later it goes back to prompt to enter appleid. This is also happening when trying to connect icloud to mail. Any help would be appreciated.
Macbook (2015 or later)