Update config_views.py

Corrected help text to advise using the country code GB for United Kingdom, instead of EN for England which does not work.
This commit is contained in:
sOckhamSter
2021-06-27 17:11:15 +01:00
committed by GitHub
parent d9f3be41a1
commit 353f4c38f1
+2 -2
View File
@@ -61,7 +61,7 @@ config_layout = dbc.Row(dbc.Col(className="col-md-12 col-lg-2 ml-2", children=[
placeholder="Enter your country code",
),
dbc.FormText(
"Example: FR for FRANCE or EN for England",
"Example: FR for FRANCE or GB for United Kingdom",
color="secondary",
)
]
@@ -180,4 +180,4 @@ def finishOtp(n_clicks, code_pin, sms_code): # pylint: disable=unused-argument
except Exception as e:
res = str(e)
return dbc.Alert(res, color="danger")
raise PreventUpdate()
raise PreventUpdate()