* Add permission judgment.

This commit is contained in:
tianshujie
2022-06-27 10:05:18 +08:00
parent 88e2ca8a01
commit ba16bac74f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
<?php
echo html::a($this->createLink('admin', 'safe'), $lang->admin->safe->set);
echo html::a($this->createLink('admin', 'checkWeak'), $lang->admin->safe->checkWeak, '', "class='active'");
echo html::a($this->createLink('admin', 'resetPWDSetting'), $lang->admin->resetPWDSetting);
if(common::hasPriv('admin', 'resetPWDSetting')) echo html::a($this->createLink('admin', 'resetPWDSetting'), $lang->admin->resetPWDSetting);
?>
</div>
</div>