membership and theme My Login can't login (resolved)

Membership and Theme My Login installed. When trying to login it displays the message that I have set for people that cannot access a page. Therefore, can’t log inl

Resolved-

I had to set the shortcode rules for public access to the login page.

Thoughts – not an elegant solution.