Fixed google redirect

This commit is contained in:
Fergal Moran
2016-01-30 15:09:36 +00:00
parent dbe8739718
commit 8bcf21563f
2 changed files with 4 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ angular.module('dssWebApp', [
});
$authProvider.google({
clientId: '248170132962-5km115budk9h84raa26hdmnnqdj8ivkl.apps.googleusercontent.com',
redirectUri: 'http://ext-test.deepsouthsounds.com:9000/',
redirectUri: window.location.origin + '/',
url: '/_a/?backend=google',
});
ngClipProvider.setPath("bower_components/zeroclipboard/dist/ZeroClipboard.swf");

View File

@@ -76,6 +76,8 @@ angular.module('dssWebApp')
}
function logoutUser() {
return $q.resolve();
/*
var defer = $q.defer();
$auth.logout()
.then(function(){
@@ -83,5 +85,6 @@ angular.module('dssWebApp')
});
return defer.promise;
*/
}
});