@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies){
}
var getOpenId = function(cb) {
if (typeof _openid !== 'undefined' || _openid.length > 0) {
if (typeof _openid !== 'undefined' && _openid.length > 0) {
cb(_openid);
return;