Changeset 1688 for trunk/grails-app/controllers/dbnp/authentication/UserRegistrationController.groovy
- Timestamp:
- Apr 4, 2011, 10:46:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/authentication/UserRegistrationController.groovy
r1430 r1688 130 130 // Otherwise, send it to a default (spam) mail address 131 131 def adminMail = "gscfproject@gmail.com"; 132 if ( GrailsUtil.getEnvironment().equals(GrailsApplication.ENV_PRODUCTION) ) {132 if ( !GrailsUtil.getEnvironment().equals(GrailsApplication.ENV_DEVELOPMENT) ) { 133 133 def administrators = SecRole.findUsers( 'ROLE_ADMIN' ); 134 134 if( administrators.size() > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.