return promise from auth

This commit is contained in:
aj 2017-08-14 18:59:45 +00:00
parent 0ad5017ac9
commit 79ae23c758
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ app.controller('SignInController', [
vm.auth = function () {
var subject = vm.currentSubject;
var issuer = vm.issuerName;
vm.oauth3.authenticate({
return vm.oauth3.authenticate({
subject: subject
, scope: [ 'domains@oauth3.org', 'domains', 'dns@oauth3.org', 'dns', 'www@daplie.com' ]
}).then(function (session) {