fixed - not showing user profiles

fixed - not showing user profiles if logged with fb or twitter
This commit is contained in:
Sadi 2014-06-17 15:20:01 +03:00
parent 54bd5f7137
commit fd62a516d8

View file

@ -13,7 +13,7 @@ Template.user_email.events({
var update = {
"profile.email": $target.find('[name=email]').val(),
"username": $target.find('[name=username]').val(),
"slug": $target.find('[name=username]').val()
"slug": slugify($target.find('[name=username]').val())
};
// TODO: enable change email
@ -33,4 +33,4 @@ Template.user_email.events({
});
}
});
});