summaryrefslogtreecommitdiffstats
path: root/modules/auth/pam
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/pam')
-rw-r--r--modules/auth/pam/pam.go3
-rw-r--r--modules/auth/pam/pam_stub.go3
-rw-r--r--modules/auth/pam/pam_test.go3
3 files changed, 3 insertions, 6 deletions
diff --git a/modules/auth/pam/pam.go b/modules/auth/pam/pam.go
index 39e93d7162..cca1482b1d 100644
--- a/modules/auth/pam/pam.go
+++ b/modules/auth/pam/pam.go
@@ -1,6 +1,5 @@
// 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.
+// SPDX-License-Identifier: MIT
//go:build pam
diff --git a/modules/auth/pam/pam_stub.go b/modules/auth/pam/pam_stub.go
index 414d7631b5..a48e89860e 100644
--- a/modules/auth/pam/pam_stub.go
+++ b/modules/auth/pam/pam_stub.go
@@ -1,6 +1,5 @@
// 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.
+// SPDX-License-Identifier: MIT
//go:build !pam
diff --git a/modules/auth/pam/pam_test.go b/modules/auth/pam/pam_test.go
index 08565d2f31..c277d59c41 100644
--- a/modules/auth/pam/pam_test.go
+++ b/modules/auth/pam/pam_test.go
@@ -1,8 +1,7 @@
//go:build pam
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pam