Enable cembra/byjuno payment for PROD env
This commit is contained in:
parent
ab60eebd25
commit
08b65f00d7
|
|
@ -32,13 +32,6 @@ const paymentMethods = [
|
||||||
{ value: "cembra_byjuno", label: t("a.Rechnung") },
|
{ value: "cembra_byjuno", label: t("a.Rechnung") },
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO: remove after cembra is ready for production
|
|
||||||
const appEnv = import.meta.env.VITE_APP_ENVIRONMENT || "local";
|
|
||||||
if (appEnv.startsWith("prod")) {
|
|
||||||
paymentMethods.splice(1, 1);
|
|
||||||
}
|
|
||||||
// END TODO
|
|
||||||
|
|
||||||
const address = computed({
|
const address = computed({
|
||||||
get() {
|
get() {
|
||||||
return props.modelValue;
|
return props.modelValue;
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,6 @@ const submissionDeadline = computed(() => {
|
||||||
?.submission_deadline;
|
?.submission_deadline;
|
||||||
});
|
});
|
||||||
|
|
||||||
// FIXME daniel: `useRouteQuery` from usevue is currently the reason that we have to
|
|
||||||
// fix the version of @vueuse/router and @vueuse/core to 10.1.0
|
|
||||||
// it fails with version 10.2.0. I have a reminder to check out the situation
|
|
||||||
// at the end of July 2023
|
|
||||||
// 0 = introduction, 1 - n = tasks, n+1 = submission
|
// 0 = introduction, 1 - n = tasks, n+1 = submission
|
||||||
const stepIndex = useRouteQuery("step", "0", { transform: Number, mode: "push" });
|
const stepIndex = useRouteQuery("step", "0", { transform: Number, mode: "push" });
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -332,7 +332,6 @@ X_FRAME_OPTIONS = "DENY"
|
||||||
# EMAIL
|
# EMAIL
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
||||||
# FIXME how to send emails?
|
|
||||||
EMAIL_BACKEND = env(
|
EMAIL_BACKEND = env(
|
||||||
"DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend"
|
"DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue