Do not autocomplete admin command form values (#822)

This commit is contained in:
koko 2023-06-28 18:49:31 -04:00 committed by GitHub
commit 88f8eec8a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ else
<div class="ui blue segment">
<h3>@command.Name()</h3>
<form>
<input type="text" name="command" style="display: none;" value="@command.FirstAlias">
<input autocomplete="off" type="text" name="command" style="display: none;" value="@command.FirstAlias">
@if (command.RequiredArgs() > 0)
{
<div class="ui left action input" style="width: 100%">