Skip to content

Commit

Permalink
Fixed issue #16819: Delete a single user in user management and throw…
Browse files Browse the repository at this point in the history
… an exception. (#1646)
  • Loading branch information
gabrieljenik committed Nov 9, 2020
1 parent c0bf2ae commit 18e07dd
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -9,7 +9,6 @@
<?=TbHtml::formTb(null, App()->createUrl('userManagement/deleteUser'), 'post', ["id"=>"UserManagement--modalform"])?>
<input type="hidden" name="userid" value="<?= $userId ?>" />
<input type="hidden" name="user" value="<?= $sUserName ?>" />
<input type="hidden" name="YII_CSRF_TOKEN" value="<?= ls_json_encode(Yii::app()->request->csrfToken) ?>" />
<button class="btn btn-primary btn-ok" id="submitForm"><span class='fa fa-check'></span>&nbsp;<?php eT("Yes"); ?></button>
<button class="btn btn-danger" data-dismiss="modal"><span class='fa fa-ban'></span>&nbsp;<?php eT("No"); ?></button>
</form>
Expand Down

0 comments on commit 18e07dd

Please sign in to comment.