diff options
author | Joas Schilling <coding@schilljs.com> | 2018-02-20 12:58:36 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-02-23 11:19:31 +0300 |
commit | 0d100363d69d052470a28cd5225d595a19338080 (patch) | |
tree | 36628844344b96e3232e73298fba39d3e4c8368f /js | |
parent | f81c2058ac2da7a7ebf2672d0e1587636474e5f6 (diff) |
Allow subadmins to impersonate users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/impersonate.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/impersonate.js b/js/impersonate.js index 8882409..db38e41 100644 --- a/js/impersonate.js +++ b/js/impersonate.js @@ -2,10 +2,6 @@ (function(OC, $){ $(document).ready(function() { - if(!OC.isUserAdmin()) { - return; - } - function impersonate(userId) { $.post( OC.generateUrl('apps/impersonate/user'), |