mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
SignupModal: rename props to attrs
This commit is contained in:
committed by
Franz Liedke
parent
e8e4b64d7d
commit
9691a6ab92
@@ -8,7 +8,7 @@ import ItemList from '../../common/utils/ItemList';
|
||||
/**
|
||||
* The `SignUpModal` component displays a modal dialog with a singup form.
|
||||
*
|
||||
* ### Props
|
||||
* ### Attrs
|
||||
*
|
||||
* - `username`
|
||||
* - `email`
|
||||
@@ -140,12 +140,12 @@ export default class SignUpModal extends Modal {
|
||||
* @public
|
||||
*/
|
||||
logIn() {
|
||||
const props = {
|
||||
const attrs = {
|
||||
identification: this.email() || this.username(),
|
||||
password: this.password(),
|
||||
};
|
||||
|
||||
app.modal.show(LogInModal, props);
|
||||
app.modal.show(LogInModal, attrs);
|
||||
}
|
||||
|
||||
onready() {
|
||||
|
Reference in New Issue
Block a user