Commit 62966ab9 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix wrong xml tag and missing pointer

parent 6430ccbe
......@@ -57,7 +57,7 @@ type CredentialType struct {
AttributeTypes []*AttributeType `xml:"Attributes>Attribute" json:"-"`
XMLVersion int `xml:"version,attr"`
XMLName xml.Name `xml:"IssueSpecification"`
IssueURL TranslatedString `xml:'IssueURL'`
IssueURL TranslatedString `xml:"IssueURL"`
Valid bool `xml:"-"`
}
......
......@@ -78,7 +78,7 @@ func (s *memorySessionStore) update(session *session) {
session.onUpdate()
}
func (s memorySessionStore) deleteExpired() {
func (s *memorySessionStore) deleteExpired() {
// First check which sessions have expired
// We don't need a write lock for this yet, so postpone that for actual deleting
s.RLock()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment