Starting from Monday (10th of May 2021), 2 Factor Authentication enforcement will be enabled. If 2FA is not configured within 48h, you will not be able to perform any action on GitLab until 2FA is configured. Please click here to learn how to do that.

Commit 093f9ccf authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix(submission form): fix credit validation passing with no value

parent e9bcdccd
......@@ -28,7 +28,7 @@ const initial = {
affiliations: yup.string(),
credit: yup
.of(yup.string().required('Must choose credit to assign to the author'))
.required('Must choose credit to assign to the author'),
email: yup
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment