Skip to content

Commit

Permalink
Merge pull request #161 from MauroDataMapper/feature/gh-160
Browse files Browse the repository at this point in the history
Added new props for active and non auth users
  • Loading branch information
olliefreeman authored Oct 15, 2021
2 parents ce7c10a + ed40815 commit 6f83455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mdm-core/grails-app/views/session/activeSessions.gson
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ json {
countAuthorised httpSessionCollection.findAll( { it.getAttribute('emailAddress')}).size() ?: 0
countUnauthorised httpSessionCollection.findAll( { !it.getAttribute('emailAddress') }).size() ?: 0
items g.render(httpSessionCollection ?: [])
authorisedItems g.render(httpSessionCollection.findAll( { it.getAttribute('emailAddress')}) ?: [])
unauthorisedItems g.render(httpSessionCollection.findAll( { !it.getAttribute('emailAddress') }) ?: [])
}

0 comments on commit 6f83455

Please sign in to comment.