summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormconway <michael.c.conway@gmail.com>2012-10-08 20:35:36 (GMT)
committer mconway <michael.c.conway@gmail.com>2012-10-08 20:35:36 (GMT)
commit625a3f53e9422f35a29b5e9c5dea3bcba3cc263b (patch)
treeb838267c4f15df926c2ecf951d1b14d1aac14f84
parent56f5c6c51fa125cfc466e4fe64c23498e94b7d87 (diff)
downloadQCG-Data-625a3f53e9422f35a29b5e9c5dea3bcba3cc263b.zip
QCG-Data-625a3f53e9422f35a29b5e9c5dea3bcba3cc263b.tar.gz
QCG-Data-625a3f53e9422f35a29b5e9c5dea3bcba3cc263b.tar.bz2
[#1004] use authenticated irods account for relogin
-rw-r--r--idrop-web/grails-app/controllers/org/irods/mydrop/controller/LoginController.groovy3
1 files changed, 2 insertions, 1 deletions
diff --git a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/LoginController.groovy b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/LoginController.groovy
index 6ba4931..09feb97 100644
--- a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/LoginController.groovy
+++ b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/LoginController.groovy
@@ -150,7 +150,8 @@ class LoginController {
try {
UserAO userAO = irodsAccessObjectFactory
.getUserAO(irodsAccount)
- authResponse = userAO.irodsCommands.authResponse
+ authResponse = irodsAccessObjectFactory.irodsSession.currentConnection(irodsAccount).authResponse
+ // close?
} catch (JargonException e) {
log.error("unable to authenticate, JargonException", e)