# 如何自定义LDAP身份验证页面？

**URL:** https://meta.discourse.org/t/how-to-customize-the-ldap-authentication-page/161654
**Category:** Support
**Tags:** discourse-ldap-auth
**Created:** [2020年八月21日 12:40 UTC](https://meta.discourse.org/t/how-to-customize-the-ldap-authentication-page/161654 "2020-08-21T12:40:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Tomas\_Hnyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomas_hnyk/32/217289_2.png) [@Tomas\_Hnyk](https://meta.discourse.org/u/Tomas_Hnyk)
#### Post date: [2022年十一月8日 18:42 UTC](https://meta.discourse.org/t/how-to-customize-the-ldap-authentication-page/161654/2 "2022-11-08T18:42:12Z")

</div>

遗憾的是，我认为这不容易实现。您不是第一个提出这个问题的人：[Login screen: only LDAP? - #3 by Ralf\_Stockmann](https://meta.discourse.org/t/login-screen-only-ldap/197868/3)

并且有两个上游问题：

> <https://github.com/jonmbake/discourse-ldap-auth/issues/61>
>
> !\[obraz\](https://user-images.githubusercontent.com/49947345/119330595-aa13dc80-b…c86-11eb-8b55-6094345d12db.png)
> Where I can change and edit this page? I want to add regulations for users on this page.
> 
> Please help

> <https://github.com/jonmbake/discourse-ldap-auth/issues/28>
>
> I'm wondering if it's possible to modify the login screen popup. I looked throug…h all the files in this repo and for the life of me couldn't figure out where to change anything. Maybe I just don't know how Discourse plugins work. I need a way to add a "Register" button to the page (linking to an external site) and to change the title from "LDAP Authentication" to something else.
> 
> Also is there any reason it couldn't open in a new tab instead? Seems less intrusive that way.

---

_[View the full topic](https://meta.discourse.org/t/how-to-customize-the-ldap-authentication-page/161654)._
