fixup! release 0.7.2 (#66) (#68)

This commit is contained in:
2025-09-25 15:49:22 +01:00
committed by GitHub
parent 1e4142a7fb
commit b07247f674
5 changed files with 998 additions and 6 deletions
+7
View File
@@ -648,6 +648,13 @@ func (s *MockSession) SetEmail(email string) {
s.values["email"] = email
}
func (s *MockSession) GetEmail() string {
s.mu.RLock()
defer s.mu.RUnlock()
email, _ := s.values["email"].(string)
return email
}
func (s *MockSession) SetCSRF(csrf string) {
s.mu.Lock()
defer s.mu.Unlock()