PGYER / codefever

CodeFever 是完全免费开源的 Git 代码托管服务,支持一行命令安装到自己服务器!CodeFever Community Edition (A Self-hosted Git Services)!
https://codefever.cn
MIT License
2.69k stars 281 forks source link

ldap集成认证 #197

Closed captain686 closed 6 months ago

captain686 commented 6 months ago

能否增加ldap集成认证方式

cubicwork commented 6 months ago

@captain686 目前还不支持 LDAP 认证方式,你可以参考以下代码自己实现: 新增用户:https://github.com/PGYER/codefever/blob/master/application/controllers/user.php#L167-L174 生成登录凭据(Cookie):https://github.com/PGYER/codefever/blob/master/application/controllers/user.php#L60