I’m newbe on Discourse, and I must to change something in Login page but I don’t know where is the target and is content.
The URL looks like this: my.domain.com/auth/crowd and I get a Login page but I’m not able to edit its content.
I saw something in the discourse conf file (crowd_custom_html) but the content is not really the same as displayed on the page.
I wonder where I can change this content.
Also, I checked if there were any redirection on /auth/crowd, Nothing (I guess).
Sim - Acabei de testar localmente e parece que temos alguns problemas com a análise de valores de GlobalSetting que contêm aspas (e HTML personalizado quase sempre conterá aspas). Acabei de enviar esta solução alternativa:
Se você atualizar seu site, ele funcionará muito melhor agora. Aqui está um valor de exemplo que agora funciona para mim:
DISCOURSE_CROWD_CUSTOM_HTML: "<a href='https://example.com' style='display: block; margin: 0.5em 0; text-align: center'>Sign up for an example.com account!</a><a style='display: block; text-align: center' href='https://example.com/forgot_password'>Forgot Password</a>"
Será exatamente como qualquer outra atualização - pode haver alguns segundos/minutos de inatividade/lentidão enquanto a atualização é executada. É melhor esperar por um momento de menor movimento em seu site, se possível.
A palavra ‘popup’ está um pouco desatualizada. Não usamos mais popups para autenticação, então esse valor é, na verdade, usado como o <title> da aba durante a autenticação: