feat : new auth in chicken
This commit is contained in:
@@ -13,6 +13,15 @@ sealed class InspectionPages {
|
||||
InspectionPages._();
|
||||
|
||||
static final pages = [
|
||||
|
||||
GetPage(
|
||||
name: InspectionRoutes.auth,
|
||||
page: () => AuthPage(),
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => AuthLogic());
|
||||
Get.lazyPut(() => CaptchaWidgetLogic());
|
||||
}),
|
||||
),
|
||||
GetPage(
|
||||
name: InspectionRoutes.init,
|
||||
page: () => RootPage(),
|
||||
@@ -64,13 +73,6 @@ sealed class InspectionPages {
|
||||
page: () => AddMobileInspectorPage(),
|
||||
binding: BindingsBuilder.put(() => AddMobileInspectorLogic()),
|
||||
),
|
||||
GetPage(
|
||||
name: InspectionRoutes.auth,
|
||||
page: () => AuthPage(),
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => AuthLogic());
|
||||
Get.lazyPut(() => CaptchaWidgetLogic());
|
||||
}),
|
||||
),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user