本站源代码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
349B

  1. // +build !pam
  2. // Copyright 2014 The Gogs Authors. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package pam
  6. import (
  7. "errors"
  8. )
  9. // Auth not supported lack of pam tag
  10. func Auth(serviceName, userName, passwd string) error {
  11. return errors.New("PAM not supported")
  12. }
上海开阖软件有限公司 沪ICP备12045867号-1