Reference Source
import LogInModal from 'flarum/components/LogInModal.js'
public class | source

LogInModal

Extends:

flarum/components/Modal~Modal → LogInModal

The LogInModal component displays a modal dialog with a login form.

Props

  • email
  • password

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

alert: *

public

The value of the email input.

public
public

The value of the password input.

Method Summary

Public Methods
public
public
public

Open the forgot password modal, prefilling it with an email if the user has entered one.

public
public

onsubmit(e: *)

public

signUp()

Open the sign up modal, prefilling it with an email/username/password if the user has entered one.

public

title(): *

Public Constructors

public constructor() source

Public Members

public alert: * source

public email: Function source

The value of the email input.

public loading: boolean source

public password: Function source

The value of the password input.

Public Methods

public className(): string source

Return:

string

public content(): undefined[] source

Return:

undefined[]

public forgotPassword() source

Open the forgot password modal, prefilling it with an email if the user has entered one.

public onready() source

public onsubmit(e: *) source

Params:

NameTypeAttributeDescription
e *

public signUp() source

Open the sign up modal, prefilling it with an email/username/password if the user has entered one.

public title(): * source

Return:

*