mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-02 21:13:47 +00:00
feat: dockerize libredesk
- feat: new flag for idempotent installation `--idempotent-install` - feat: new flag to skip yes/no prompt `--yes` - feat: new flag for upgrades `--upgrade` - refactor: update doc strings and sample toml file. - chore: update .gitignore.
This commit is contained in:
@@ -289,6 +289,7 @@ func (a *Auth) SetCSRFCookie(r *fastglue.Request) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ValidateSession validates the session and returns the user.
|
||||
func (a *Auth) ValidateSession(r *fastglue.Request) (models.User, error) {
|
||||
a.mu.RLock()
|
||||
defer a.mu.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user