1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-27 01:54:34 +00:00
Allen Wild 0bf7ed55be routers/repo/setting: display correct error for invalid mirror interval (#6429)
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
2019-03-25 20:35:06 -04:00
..
2018-03-30 07:21:27 +08:00
2018-01-10 23:34:17 +02:00
2018-10-22 16:13:35 -04:00
2019-01-23 13:58:38 -05:00
2018-03-16 22:04:33 +08:00