| 123456789101112131415161718 |
- // +build !pam
- // Copyright 2015 The Gogs Authors. All rights reserved.
- // Copyright 2018 Gitote. All rights reserved.
- //
- // This source code is licensed under the MIT license found in the
- // LICENSE file in the root directory of this source tree.
- package pam
- import (
- "errors"
- )
- func PAMAuth(serviceName, userName, passwd string) error {
- return errors.New("PAM not supported")
- }
|