mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-05 18:01:39 -05:00
fixed onPreSignUpHook call
This commit is contained in:
parent
db90847cc5
commit
6755ed3045
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ export class LoginForm extends Tracker.Component {
|
|||
};
|
||||
|
||||
// Allow for Promises to return.
|
||||
let promise = Accounts.ui._options.preSignUpHook(options);
|
||||
let promise = Accounts.ui._options.onPreSignUpHook(options);
|
||||
if (promise instanceof Promise) {
|
||||
promise.then(SignUp);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue