2019-04-24 21:52:08 +00:00
|
|
|
package session
|
|
|
|
|
2019-12-24 02:14:52 +00:00
|
|
|
import "github.com/authelia/authelia/internal/authentication"
|
2019-04-24 21:52:08 +00:00
|
|
|
|
|
|
|
// NewDefaultUserSession create a default user session.
|
|
|
|
func NewDefaultUserSession() UserSession {
|
|
|
|
return UserSession{
|
|
|
|
KeepMeLoggedIn: false,
|
|
|
|
AuthenticationLevel: authentication.NotAuthenticated,
|
|
|
|
LastActivity: 0,
|
|
|
|
}
|
|
|
|
}
|