mirror of
https://github.com/fergalmoran/dss.web.git
synced 2026-02-15 20:44:34 +00:00
Fixed google redirect
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
*/
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user