diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index 7cf6c949..d8437fd0 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -59,8 +59,8 @@ angular.module('passmanApp') $location.path('/vault/' + $scope.storedCredential.vault_id); }; - - + console.log($location); + $scope.share_link = $location.$$protocol + '://'+ $location.$$host + OC.generateUrl('apps/passman/share/public#') + $scope.storedCredential.guid; $scope.share_settings = { linkSharing:{ enabled: false, diff --git a/js/templates.js b/js/templates.js index ffccd238..b7d797d9 100644 --- a/js/templates.js +++ b/js/templates.js @@ -89,7 +89,7 @@ angular.module('views/partials/forms/share_credential/basics.html', []).run(['$t angular.module('views/partials/forms/share_credential/expire_settings.html', []).run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('views/partials/forms/share_credential/expire_settings.html', - '