Open devEricA opened 3 years ago
Well, we have quite the blocker. There does not seem to be much documentation on how to handle authentications within revel.
In the revel examples page, there's a few applications that appear to have some form of the login & authentication implemented.
However, none of the examples appear to work.
git clone https://github.com/revel/examples.git
and revel run examples/booking
found here to run the booking example resulted in error="Go Compilation Error (in ../../../go/pkg/mod/github.com/revel/modules@v0.21.0/orm/gorp/app/dbgorp.go:7): no required module provides package gopkg.in/Masterminds/squirrel.v1; to add it:"
. In order to fix this a go mod tidy
was attempted. That resulted in gopkg.in/Masterminds/squirrel.v1: no matching versions for query "latest"
error="No revel found"
whenever a revel run
command is attempted. Scouring though the booking application's main app controller, there is another hint: the use of c.connected()
and c.viewArgs["User"]
. However, there appears to be no documentation of how to make use of these parameters within the revel manual. There are also no comments on the controller on how to make use of it's parameters and variables.
If anybody gets an idea on how to proceed, please make a comment on this issue.
Bug description On remote hosted instances, if two people log into the application, the application only handles the most recent user, which results in other users viewing the person who most recently logged in.
Steps to reproduce Remote Hosted Instances (e.g Linode, AWS)
Locally Deployed Instances
localhost:9000
)Expected behavior Both people would be able to view their accounts at the same time.