Skip to content

Commit

Permalink
Use new method to determine if passwords are on
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Nov 12, 2013
1 parent 3f26269 commit dcc68f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/accounts-ui-unstyled/login_buttons_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Template._loginButtonsLoggedOutDropdown.events({

// additional classes that can be helpful in styling the dropdown
Template._loginButtonsLoggedOutDropdown.additionalClasses = function () {
if (!Accounts.password) {
if (!hasPasswordService()) {
return false;
} else {
if (loginButtonsSession.get('inSignupFlow')) {
Expand Down

0 comments on commit dcc68f5

Please sign in to comment.