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

Create "signin.html" instead "index.html" replacing #47

Closed frederikhors closed 4 years ago

frederikhors commented 5 years ago

I think buffalo g auth should not replace the index.html file automatically generated by buffalo but instead create a signin.html file.

draco2003 commented 4 years ago

+1 on not overwriting index.html file. Ideally we would create a route that either shows the current user details or handles the unauthorized request (redirects to the sign-in page for web and responds with unauthorized for api?)

paganotoni commented 4 years ago

This one is solved in #64