builderbook icon indicating copy to clipboard operation
builderbook copied to clipboard

Boilerplate: Slug is Required

Open webbygregg opened this issue 8 years ago • 2 comments

I am receiving the below error when logging in with Google

ValidationError: User validation failed: slug: Path slug is required.

If I set slug to not required in the model, everything works correctly.

webbygregg avatar Jul 24 '18 11:07 webbygregg

@webbygregg thank you for reporting and suggesting a solution.

The User model required slug, but slug was not created by the signInOrSignUp method. We meant to remove slug from the boilerplate completely but had only partially removed it.

Thanks again for pointing out the problem.

klyburke avatar Jul 25 '18 04:07 klyburke

@klyburke thanks for sorting that.

webbygregg avatar Jul 26 '18 08:07 webbygregg