aboutsummaryrefslogtreecommitdiff
path: root/modules/oauth2/oauth2.go
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-04-10 14:38:48 -0400
committer无闻 <joe2010xtmf@163.com>2014-04-10 14:38:48 -0400
commit8faa0dbcd77ec17bbf88041f46e2fc48f6ca6f31 (patch)
tree3dff34e53f34632532fd7a05e00e6f06b3e7fb82 /modules/oauth2/oauth2.go
parent2577940c30f6a6d15390974ab36f8c3d1e00f9f4 (diff)
parenta4cbe79567072befd96cf1b7eb319de1e2809ca3 (diff)
Merge pull request #70 from zhsso/git
Git
Diffstat (limited to 'modules/oauth2/oauth2.go')
-rw-r--r--modules/oauth2/oauth2.go15
1 files changed, 3 insertions, 12 deletions
diff --git a/modules/oauth2/oauth2.go b/modules/oauth2/oauth2.go
index 180c52ca..05ae4606 100644
--- a/modules/oauth2/oauth2.go
+++ b/modules/oauth2/oauth2.go
@@ -1,16 +1,7 @@
// Copyright 2014 Google Inc. All Rights Reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
// Package oauth2 contains Martini handlers to provide
// user login via an OAuth 2.0 backend.