forked from baron/baron-sso
orgfront refresh token 관리 추가
This commit is contained in:
@@ -3,7 +3,6 @@ import 'dart:async';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:userfront/i18n.dart';
|
||||
import '../../../core/i18n/locale_utils.dart';
|
||||
import '../../../core/services/auth_proxy_service.dart';
|
||||
@@ -39,7 +38,6 @@ class _SignupScreenState extends State<SignupScreen> {
|
||||
bool _isEmailVerified = false;
|
||||
bool _isPhoneVerified = false;
|
||||
String _affiliationType = 'GENERAL';
|
||||
bool _isAffiliateLocked = false;
|
||||
String? _companyCode;
|
||||
bool _termsAccepted = false;
|
||||
bool _privacyAccepted = false;
|
||||
@@ -283,11 +281,9 @@ class _SignupScreenState extends State<SignupScreen> {
|
||||
|
||||
if (res['isAffiliate'] == true) {
|
||||
_affiliationType = 'AFFILIATE';
|
||||
_isAffiliateLocked = true;
|
||||
} else {
|
||||
_affiliationType = 'GENERAL';
|
||||
_companyCode = null;
|
||||
_isAffiliateLocked = true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user