Clean up
This commit is contained in:
parent
29d418a358
commit
fddf026cd0
|
@ -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"],
|
||||||
|
|
Loading…
Reference in a new issue