License for private repository

Hello, do you really need to have a License for a private repository? if you didn’t, is it really against gitlab’s Terms of Service?