SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

Put a check if SAML Login message option is empty #16

Closed jlmnrc closed 8 years ago

jlmnrc commented 8 years ago

Currently, when SAML login message empty link is empty, it will show empty line at login page. This PR is to check if it is empty, and do not echo when it is.

pitbulk commented 8 years ago

I thought that "SAML Login" was the default value. Instead of print nothing, I think we may print the "SAML Login" message.

jlmnrc commented 8 years ago

The scenario is this:

  1. enable Keep local login
  2. set 'SAML login message' to empty.
  3. It will print a blank line.