mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-10 11:51:15 +01:00
Lint
This commit is contained in:
parent
27fa21e403
commit
eced58701d
@ -29,6 +29,10 @@ import { _t } from './languageHandler';
|
|||||||
/**
|
/**
|
||||||
* Starts either the ILAG or full registration flow, depending
|
* Starts either the ILAG or full registration flow, depending
|
||||||
* on what the HS supports
|
* on what the HS supports
|
||||||
|
*
|
||||||
|
* @param {object} options
|
||||||
|
* @param {bool} options.go_home_on_cancel If true, goes to
|
||||||
|
* the hame page if the user cancels the action
|
||||||
*/
|
*/
|
||||||
export async function startAnyRegistrationFlow(options) {
|
export async function startAnyRegistrationFlow(options) {
|
||||||
if (options === undefined) options = {};
|
if (options === undefined) options = {};
|
||||||
@ -70,7 +74,7 @@ export async function startAnyRegistrationFlow(options) {
|
|||||||
} else if (options.go_home_on_cancel) {
|
} else if (options.go_home_on_cancel) {
|
||||||
dis.dispatch({action: 'view_home_page'});
|
dis.dispatch({action: 'view_home_page'});
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user