Skip to content

Commit

Permalink
Merge pull request #830 from ubc/#829-unlink-saml-user-ui
Browse files Browse the repository at this point in the history
Enable un-linking SAML users in UI
  • Loading branch information
andrew-gardener authored Aug 24, 2018
2 parents 5587143 + 7fc2467 commit 3a0f896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compair/static/compair-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ myApp.factory('RouteResolves',
return $q.when({'objects':[]});
},
userThirdPartyUsers: function() {
if (AuthTypesEnabled.cas) {
if (AuthTypesEnabled.cas || AuthTypesEnabled.saml) {
var userId = $route.current.params.userId;
return UserThirdPartyUsersResource.get({'id': userId}).$promise;
}
Expand Down
2 changes: 1 addition & 1 deletion compair/static/modules/user/user-manage-partial.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h2 class="col-sm-12">LTI account links</h2>

</div>

<div ng-if="AuthTypesEnabled.cas">
<div ng-if="AuthTypesEnabled.cas || AuthTypesEnabled.saml">

<div class="row">
<h2 class="col-sm-12">CWL account links</h2>
Expand Down

0 comments on commit 3a0f896

Please sign in to comment.