diff options
author | Allen Wild <aswild@users.noreply.github.com> | 2019-03-25 17:51:55 -0400 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-25 17:51:55 -0400 |
commit | 909feaafa7ca1a2529a381b2ff19c02f99e0153e (patch) | |
tree | 9eae12e6d5053796bb8a1dad7d5f4fbefeece8a9 /vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go | |
parent | d86f878b3e78acdbce0b96121cf10ba080815bda (diff) | |
download | gitea-909feaafa7ca1a2529a381b2ff19c02f99e0153e.tar.gz gitea-909feaafa7ca1a2529a381b2ff19c02f99e0153e.zip |
routers/repo/setting: display correct error for invalid mirror interval (#6414)
Set Err_Interval in the context data so that the mirror interval box is
highlighted red as expected.
Clear Err_RepoName for the mirror and advanced actions. repo_name is not
set by these forms, causing auth.validate() to set the Err_RepoName
before SettingsPost is called, which would lead to the repository name
box getting erroneously highlighted red.
Fixes: https://github.com/go-gitea/gitea/issues/6396
Diffstat (limited to 'vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go')
0 files changed, 0 insertions, 0 deletions