mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 04:36:18 +01:00
Fix the variable regexp pattern on web page (#27161)
same as (https://github.com/go-gitea/gitea/pull/26910)
This commit is contained in:
parent
e46274b5b4
commit
218e719ea8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
||||||
name="name"
|
name="name"
|
||||||
id="dialog-variable-name"
|
id="dialog-variable-name"
|
||||||
value="{{.name}}"
|
value="{{.name}}"
|
||||||
pattern="^[a-zA-Z_][a-zA-Z0-9_]*$"
|
pattern="^(?!GITEA_|GITHUB_)[a-zA-Z_][a-zA-Z0-9_]*$"
|
||||||
placeholder="{{.locale.Tr "secrets.creation.name_placeholder"}}"
|
placeholder="{{.locale.Tr "secrets.creation.name_placeholder"}}"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue