Documentation ¶
Index ¶
Constants ¶
View Source
const ( DjangoSessionCookieNotFound string = "django session cookie not found in the incoming request" DjangoSessionCookieIsBlank string = "django session cookie is blank in the incoming request" DjangoSessionCookieIsExpired string = "django session cookie is expired in the incoming request" )
View Source
const (
DjangoSessionCookie string = "sessionid"
)
Variables ¶
View Source
var (
)Functions ¶
func LoginRequired ¶
LoginRequired uses a cookie named "sessionid", this session id is compared to the django_sessions table If the session is in the table the user is considered as authenticated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.