Skip to content

Commit

Permalink
allow logout via get url /logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dierk Koenig committed Nov 14, 2023
1 parent a7b4cc8 commit bbfca10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions grails-app/conf/application.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@


// Added by the Spring Security Core plugin:
grails.plugin.springsecurity.userLookup.userDomainClassName = 'rooms.SecUser'
grails.plugin.springsecurity.userLookup.userDomainClassName = 'rooms.SecUser'
grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'rooms.SecUserSecRole'
grails.plugin.springsecurity.authority.className = 'rooms.SecRole'
grails.plugin.springsecurity.authority.className = 'rooms.SecRole'

grails.plugin.springsecurity.logout.postOnly = false // allow logout via get url /logout

grails.plugin.springsecurity.controllerAnnotations.staticRules = [
[pattern: '/', access: ['permitAll']],
[pattern: '/error', access: ['permitAll']],
Expand Down

0 comments on commit bbfca10

Please sign in to comment.