aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-23 15:05:37 +0800
committerGitHub <noreply@github.com>2017-02-23 15:05:37 +0800
commitd077fd084a3cc8d96ba80d8fcf950b21523644b2 (patch)
treeeeecf3f28b3d7a8794f897d5f87d26ae69260853
parent0e6b9ea786a77a4df4aa9fff1b96b9483bcdded5 (diff)
downloadgitea-d077fd084a3cc8d96ba80d8fcf950b21523644b2.tar.gz
gitea-d077fd084a3cc8d96ba80d8fcf950b21523644b2.zip
added missing new struct sync (#1021)
-rw-r--r--models/models.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 33268fabbe..0840b4600e 100644
--- a/models/models.go
+++ b/models/models.go
@@ -114,6 +114,8 @@ func init() {
new(TwoFactor),
new(RepoUnit),
new(RepoRedirect),
+ new(ExternalLoginUser),
+ new(ProtectedBranch),
)
gonicNames := []string{"SSL", "UID"}