Index: /trunk/grails-app/taglib/WebAlbumTagLib.groovy
===================================================================
--- /trunk/grails-app/taglib/WebAlbumTagLib.groovy	(revision 193)
+++ /trunk/grails-app/taglib/WebAlbumTagLib.groovy	(revision 194)
@@ -2,12 +2,4 @@
 
     static namespace = "wa"
-
-    def ifDevEnv = { attrs, body ->
-        def map = grailsApplication.metadata
-        String env = map[grailsApplication.ENVIRONMENT]
-        if (env == grailsApplication.ENV_DEVELOPMENT) {
-            out << body()
-        }
-    }
 
     def pictureAnchor = { attrs, body ->
Index: /trunk/grails-app/views/login/auth.gsp
===================================================================
--- /trunk/grails-app/views/login/auth.gsp	(revision 193)
+++ /trunk/grails-app/views/login/auth.gsp	(revision 194)
@@ -54,5 +54,8 @@
     <div id='login'>
         <h1>Welcome to gnuMims please log in</h1>
+
+        <g:if env="development">
         The demo users are <b>user</b>, <b>manager</b> and  <b>admin</b> all having the password: <b>pass</b>
+        </g:if>
 
         <div class='inner'>
@@ -64,9 +67,22 @@
                 <p>
                     <label for='j_username'>Login ID</label>
-                    <input type='text' class='text_' name='j_username' id='j_username' value='manager' />
+
+                    <g:if env="production">
+                        <input type='text' class='text_' name='j_username' id='j_username'/>
+                    </g:if>
+                    <g:else >
+                        <input type='text' class='text_' name='j_username' id='j_username' value='manager'  />
+                    </g:else >
+
                 </p>
                 <p>
                     <label for='j_password'>Password</label>
-                    <input type='password' class='text_' name='j_password' id='j_password' value="pass"/>
+
+                    <g:if env="production">
+                        <input type='password' class='text_' name='j_password' id='j_password' />
+                    </g:if>
+                    <g:else >
+                        <input type='password' class='text_' name='j_password' id='j_password' value="pass" />
+                    </g:else >
                 </p>
 
