[interchange-cvs] interchange - heins modified dist/lib/UI/pages/admin/login.html

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Apr 9 09:39:29 EDT 2004


User:      heins
Date:      2004-04-09 13:39:28 GMT
Modified:  dist/lib/UI/pages/admin login.html
Log:
* Prevent server error on entry to login page if there is no "userdb"
  table but still a default profile.

* Log out for the proper profile.

Revision  Changes    Path
2.9       +4 -2      interchange/dist/lib/UI/pages/admin/login.html


rev 2.9, prev_rev 2.8
Index: login.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/login.html,v
retrieving revision 2.8
retrieving revision 2.9
diff -u -r2.8 -r2.9
--- login.html	17 Feb 2004 20:02:26 -0000	2.8
+++ login.html	9 Apr 2004 13:39:28 -0000	2.9
@@ -4,7 +4,9 @@
 		[calc]delete $Session->{su}; return; [/calc]
 		[bounce page="__UI_BASE__/index"]
 	[else]
-	[userdb function=logout clear=1 hide=1]
+	[try]
+		[userdb profile=ui function=logout clear=1 hide=1]
+	[/try]
 	[/else]
 	[/if]
 [/if]
@@ -165,4 +167,4 @@
 <!-- ----- END REAL STUFF ----- -->
 
 @_UI_STD_FOOTER_@
-<!-- page: @@MV_PAGE@@ -->
+<!-- page: @@MV_PAGE@@ $Revision: 2.9 $ -->








More information about the interchange-cvs mailing list