Changeset 843
- Timestamp:
- Aug 26, 2010, 1:17:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/RestController.groovy
r842 r843 58 58 * Determines whether the given user/password combination is a valid GSCF account. 59 59 * 60 * @return bool True when user/password is a valid GSCF account, falseotherwise.60 * @return bool {"authenticated":true} when user/password is a valid GSCF account, {"authenticated":false} otherwise. 61 61 */ 62 62 def isUser= { … … 70 70 isUser = false 71 71 } 72 render isUser as JSON 72 def reply = ['authenticated':isUser] 73 render reply as JSON 73 74 } 74 75
Note: See TracChangeset
for help on using the changeset viewer.