This commit is contained in:
Christian Pauly 2020-01-09 23:10:17 +01:00
parent 29d418a358
commit fddf026cd0

View file

@ -53,15 +53,6 @@ class _SignUpPasswordState extends State<SignUpPassword> {
for (int i = 0; i < stages.length;) { for (int i = 0; i < stages.length;) {
if (stages[i] == "m.login.dummy") { if (stages[i] == "m.login.dummy") {
print("[Sign Up] Process m.login.dummy stage"); print("[Sign Up] Process m.login.dummy stage");
_signUpAction(context, auth: {
"type": stages[i],
"session": response["session"],
});
break;
} else if (stages[i] == "m.login.recaptcha") {
print("[Sign Up] Process m.login.recaptcha stage");
final String publicKey = response["params"]["public_key"];
_signUpAction(context, auth: { _signUpAction(context, auth: {
"type": stages[i], "type": stages[i],
"session": response["session"], "session": response["session"],