diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-16 14:53:04 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-16 14:53:04 +0200 |
commit | 9d1e60325c6f478484ff8f70ff3cd13d9d7d4913 (patch) | |
tree | 3c341c7c65af8de027ade37a72fc4208355a41df /settings/templates/users.php | |
parent | 67a80e1870a47c0f060c58f65b3a6fc838c52b70 (diff) | |
download | nextcloud-server-9d1e60325c6f478484ff8f70ff3cd13d9d7d4913.tar.gz nextcloud-server-9d1e60325c6f478484ff8f70ff3cd13d9d7d4913.zip |
allow admin to recover users files in case of password lost
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index e86dd46efbe..a6df85983dd 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -29,6 +29,11 @@ $_['subadmingroups'] = array_flip($items); <?php endforeach;?> </select> <input type="submit" value="<?php p($l->t('Create'))?>" /> </form> + <?php if((bool)$_['recoveryAdminEnabled']): ?> + <div class="recoveryPassword"> + <input id="recoveryPassword" type="password" placeholder="<?php p($l->t('Admin Recovery Password'))?>" /> + </div> + <?php endif; ?> <div class="quota"> <span><?php p($l->t('Default Storage'));?></span> <?php if((bool) $_['isadmin']): ?> |