Login Form private


(Jakub Mierzejewski) #1

Hello everyone. I hope I am at the right category.

Is there a way to add login form like this? My forum is private. So anybody have to login.

I want it to look like this:

or at least lookalike. I just want the custom login form.
Is there any way?


(Erick Guan) #2
  1. Checked login_required
  2. Creating a plugin and putting a app/views/static/login.<your-language-locale>. Do whatever HTML elements/including JS you want.
  3. Customize CSS

(Jakub Mierzejewski) #3

I dont quite understand the 2 point. Can you explain more?


(Erick Guan) #4

You need to build this login form and its functionality all by yourself. It’s not included in Discourse by default.

From your screenshot, it looks like another Discourse, try to get some HTML and CSS from there.