sendConfirmationCode method
Sends a ConfirmationCode to confirm the AuthService.deleteSession.
Implementation
Future<void> sendConfirmationCode() async {
_setResendEmailTimer();
try {
await _authService.createConfirmationCode();
} catch (e) {
password.resubmitOnError.value = true;
password.error.value = 'err_data_transfer'.l10n;
_setResendEmailTimer(false);
rethrow;
}
}