Login_Form - Removed Login Verify (not used anyways)
This commit is contained in:
parent
e9b36065b6
commit
94ec4a57a3
1 changed files with 0 additions and 6 deletions
|
@ -3,7 +3,6 @@ import 'package:lottie/lottie.dart';
|
|||
import 'package:flutter_form_builder/flutter_form_builder.dart';
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/components/login_error.dart';
|
||||
import 'package:nekoya_flutter/components/login_verify.dart';
|
||||
|
||||
class LoginForm extends StatefulWidget {
|
||||
const LoginForm({Key? key}) : super(key: key);
|
||||
|
@ -83,11 +82,6 @@ class LoginFormState extends State<LoginForm> {
|
|||
.fields["Password"]!.value);
|
||||
|
||||
if (statusCode == 200) {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) =>
|
||||
const LoginVerify()));
|
||||
} else {
|
||||
Navigator.push(
|
||||
context,
|
||||
|
|
Loading…
Reference in a new issue