Improve challenge handling
This commit is contained in:
parent
e0852abcdc
commit
e3f418105b
6 changed files with 92 additions and 52 deletions
|
@ -133,7 +133,9 @@ export const StandaloneRegistration = ({
|
|||
setError('Captcha handler is not ready!');
|
||||
return;
|
||||
}
|
||||
const token = await window.Signal.challengeHandler.requestCaptcha();
|
||||
const token = await window.Signal.challengeHandler.requestCaptcha({
|
||||
reason: 'standalone registration',
|
||||
});
|
||||
|
||||
try {
|
||||
requestVerification(type, number, token);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue