[Zope-PTK] CVS: ZopePTK - logged_in.dtml:1.3 login_form.dtml:1.3

Jens jens@zope.org
Tue, 20 Feb 2001 12:35:55 -0800


Update of /cvs-repository/ZopePTK/PTKDemo/skins/generic
In directory zope.codeit.com:/tmp/cvs-serv29734

Modified Files:
	logged_in.dtml login_form.dtml 
Log Message:
Added a little code to make use of the variable "came_from" that is set if someone is not logged in but tries to traverse to something that requires log-in. the user is brought back to the login screen and the URL has the variable "came_from" attached, which represents the URL that the user tried to get to.

Both login_form and logged_in are now aware of it and, if the login was successful, will redirect to "came_from".