3

I have users who authenticate using Twitter and Facebook (using the Social Login add-on). Those users have no password.

Is this something I can test for using ExpressionEngine logic?

The obvious suspects don't seem to work, but it's not terribly surprising:

{if password != ""}password == yes{/if}
{if password}password == yes{/if}

1 Answer 1

2

From their Docs:

The contents of {password_block} is displayed only when password is empty.

So {password_block} password == no{/password_block} should do the trick inside the exp:social_login:add_userdata tag.

1
  • Nice! I looked but didn't find it, thanks :)
    – Tim
    Mar 15, 2013 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.