1
0
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:
Alexander Skvortsov
2020-08-10 00:48:48 -04:00
committed by Franz Liedke
parent e8e4b64d7d
commit 9691a6ab92

View File

@@ -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() {