Skip to content

Commit

Permalink
Password managers shouldn’t trigger on monitor box
Browse files Browse the repository at this point in the history
Fixes #26963
  • Loading branch information
vboctor committed May 25, 2020
1 parent e5db715 commit 2aaf0be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bug_monitor_add.php
Expand Up @@ -42,7 +42,7 @@
form_security_validate( 'bug_monitor_add' );

$f_bug_id = gpc_get_int( 'bug_id' );
$f_usernames = trim( gpc_get_string( 'username', '' ) );
$f_usernames = trim( gpc_get_string( 'user_to_add', '' ) );

$t_payload = array();

Expand Down
3 changes: 1 addition & 2 deletions bug_view_inc.php
Expand Up @@ -681,8 +681,7 @@
<form method="get" action="bug_monitor_add.php" class="form-inline noprint">
<?php echo form_security_field( 'bug_monitor_add' ) ?>
<input type="hidden" name="bug_id" value="<?php echo (integer)$f_issue_id; ?>" />
<label for="bug_monitor_list_username"><?php echo lang_get( 'username' ) ?></label>
<input type="text" class="input-sm" id="bug_monitor_list_username" name="username" />
<input type="text" class="input-sm" id="bug_monitor_list_user_to_add" name="user_to_add" />
<input type="submit" class="btn btn-primary btn-sm btn-white btn-round" value="<?php echo lang_get( 'add_user_to_monitor' ) ?>" />
</form>
<?php } ?>
Expand Down

0 comments on commit 2aaf0be

Please sign in to comment.