- Timestamp:
- Mar 4, 2011, 12:30:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/authentication/LoginController.groovy
r1430 r1588 28 28 * Dependency injection for the GSCF authentication service 29 29 */ 30 def AuthenticationService30 def authenticationService 31 31 32 32 /** … … 75 75 // If the user is already authenticated with this session_id, redirect 76 76 // him 77 if( AuthenticationService.isRemotelyLoggedIn( consumer, token ) ) {77 if( authenticationService.isRemotelyLoggedIn( consumer, token ) ) { 78 78 if( returnUrl ) { 79 79 redirect url: returnUrl … … 85 85 // If the user is already logged in locally, we log him in and 86 86 // immediately redirect him 87 if ( AuthenticationService.isLoggedIn()) {88 AuthenticationService.logInRemotely( consumer, token, AuthenticationService.getLoggedInUser() )87 if (authenticationService.isLoggedIn()) { 88 authenticationService.logInRemotely( consumer, token, authenticationService.getLoggedInUser() ) 89 89 90 90 if( returnUrl ) {
Note: See TracChangeset
for help on using the changeset viewer.