gobuffalo / buffalo-auth

Buffalo auth plugin helps adding username password authentication to your app
https://gobuffalo.io
MIT License
41 stars 28 forks source link

Compatibility issues when integrating with buffalo 0.16.3 #77

Closed L1ghtman2k closed 4 years ago

L1ghtman2k commented 4 years ago

Not sure if this is a bug, or I am just doing something wrong. I started a clean setup on ubuntu, with latest buffalo. I implemented localauth as suggested by https://gobuffalo.io/en/docs/auth/. When I start buffalo dev and attempt to sign up a user by going to /users/new it gives me the following when I submit the form: image

UPD: I fixed by changing all instances of github.com/gobuffalo/pop to github.com/gobuffalo/pop/v5 and github.com/gobuffalo/validate to github.com/gobuffalo/validate/v3

Can anyone look into this? I am still not sure if this is a bug or a user error

L1ghtman2k commented 4 years ago

This might be related to https://github.com/gobuffalo/buffalo/issues/1886

paganotoni commented 4 years ago

Running buffalo fix after generating the auth code should solve the issue.