Add presentation layer for get Session

This commit is contained in:
dab246
2021-07-29 18:26:31 +07:00
committed by Dat H. Pham
parent 59da162655
commit 740859054a
19 changed files with 180 additions and 15 deletions
@@ -60,7 +60,7 @@ class LoginController extends GetxController {
loginState.value = LoginState(Right(success));
_dynamicUrlInterceptors.changeBaseUrl(_urlText);
_authorizationInterceptors.changeAuthorization(_userNameText, _passwordText);
Get.offNamed(AppRoutes.MAILBOX_DASHBOARD);
Get.offNamed(AppRoutes.SESSION);
}
void _loginFailureAction(AuthenticationUserFailure failure) {