
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
"Can only create a "registers" document via an Authentication action." 앱을 하나 만드는 중인데 이런 에러가 난 후 다음 단계로 진행이 안됩니다. 어떻게 해야하나요?

Padding(
padding: EdgeInsetsDirectional.fromSTEB(16.0, 12.0, 16.0, 12.0),
child: FFButtonWidget(
onPressed: () async {
await RegistersRecord.collection.doc().set(createRegistersRecordData(
passportNumber: _model.passportNumTextController.text,
country: _model.countrySelValue,
phoneNumber: _model.phoneNumberTextController.text,
email: _model.emailTextController.text,
visitedKorea: _model.pastKoreaBuValue,
otherVisited: _model.otherVisitedValue,
job: _model.jobDrValue,
disease: _model.diseaseRadioValue,
arrested: _model.diseaseRadioValue,
gender: _model.genderValue,
otherCitizen: _model.citizenRaValue,
createdTime: getCurrentTimestamp,
));
},
text: FFLocalizations.of(context).getText(
'scckp7mm' /* Submit Form */,
),
options: FFButtonOptions(
width: double.infinity,
height: 48.0,
padding: EdgeInsetsDirectional.fromSTEB(24.0, 0.0, 24.0, 0.0),
iconPadding: EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0),
color: FlutterFlowTheme.of(context).secondary,
textStyle: FlutterFlowTheme.of(context).titleSmall.override(
fontFamily: 'Figtree',
color: Colors.white,
fontSize: 16.0,
letterSpacing: 0.0,
fontWeight: FontWeight.w500,
),
elevation: 3.0,
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).success,
width: 1.0,
),
borderRadius: BorderRadius.circular(8.0),
),
),
)
