I've tried both methods, from Catwalk and the shell (which outputs the
following below).
When visiting the website at /secured, the cherrypy server outputs text
to the console (see below below).

Thank you, Jeff!

[08:32:[EMAIL PROTECTED] ~/Sites/x-tguser/idtest] $ tg-admin
shell
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from turbogears.identity.model.somodel import *
>>> u = TG_User.get(1)
>>> u
<TG_User 1 userId=u'jeff' emailAddress=u'[EMAIL PROTECTED]'
displayName=u'Jeff Watkins' password=u'xxxxx'
created='datetime.datetime...)'>
>>> g = TG_Group.get(1)
>>> g
<TG_Group 1 groupId=u'admin' displayName=u'Administrators'
created='datetime.datetime...)'>


CONSOLE OUTPUT
after trying to log into /secured and getting kicked back to the
Welcome screen with the same message "Please log in" instead of an
error about not being authenticated.

2006/01/03 08:35:06 HTTP INFO 127.0.0.1 - POST /secured HTTP/1.1
2006-01-03 08:35:06,879 turbogears.kidsupport DEBUG
'kid.util.template_0x24A2F11CL' needs freshening
2006-01-03 08:35:06,881 turbogears.kidsupport DEBUG Recompiling
template for idtest.templates.login
2006-01-03 08:35:06,886 turbogears.kidsupport DEBUG Applying template
idtest.templates.login
127.0.0.1 - - [2006/01/03 08:35:06] "POST /secured HTTP/1.1" 403 895

Reply via email to