Skip to content

Commit f8a6373

Browse files
authored
Merge pull request #1009 from salimkamboh/patch-1
show resend password link
2 parents b7180b2 + 57f0a8a commit f8a6373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/admin/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
'template' => '{switch} {resend_password} {update} {delete}',
118118
'buttons' => [
119119
'resend_password' => function ($url, $model, $key) {
120-
if (!$model->isAdmin) {
120+
if ($model->isAdmin) {
121121
return '
122122
<a data-method="POST" data-confirm="' . Yii::t('user', 'Are you sure?') . '" href="' . Url::to(['resend-password', 'id' => $model->id]) . '">
123123
<span title="' . Yii::t('user', 'Generate and send new password to user') . '" class="glyphicon glyphicon-envelope">

0 commit comments

Comments
 (0)