- Timestamp:
- Nov 3, 2010, 10:48:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/authentication/LogoutController.groovy
r1036 r1053 4 4 5 5 class LogoutController { 6 6 def AuthenticationService 7 7 8 /** 8 9 * Index action. Redirects to the Spring security logout uri. … … 18 19 19 20 def remote = { 20 // Log out the remote user 21 AuthenticationService.logOffRemotely( params.consumer, params.token ) 21 if( params.consumer || params.token ) { 22 // Log out the remote user 23 AuthenticationService.logOffRemotely( params.consumer, params.token ) 24 } 22 25 23 26 // Try to rest the redirect url
Note: See TracChangeset
for help on using the changeset viewer.