diff options
Diffstat (limited to 'templates/show_edit_user.inc.php')
-rw-r--r-- | templates/show_edit_user.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_edit_user.inc.php b/templates/show_edit_user.inc.php index 7b119736..56ed7179 100644 --- a/templates/show_edit_user.inc.php +++ b/templates/show_edit_user.inc.php @@ -19,6 +19,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +$form_string = generate_password('32'); +$_SESSION['forms']['adminuser'] = $form_string; ?> <?php show_box_top(_('Editing existing User')); ?> <?php Error::display('general'); ?> @@ -83,6 +85,7 @@ <div class="formValidation"> <input type="hidden" name="action" value="update_user" /> <input type="submit" value="<?php echo _('Update User'); ?>" /> + <input type="hidden" name="formkey" value="<?php echo $form_string; ?>" /> <input type="hidden" name="user_id" value="<?php echo $client->id; ?>" /> </div> </form> |