I see. Then, if the password you're using is right and it still fails, I think
you should definitely post a message to the Repoze mailing list to find why
repoze.who is not working properly. :(
Cheers!
On Tuesday November 18, 2008 18:56:22 Jorge Vargas wrote:
> On Tue, Nov 18, 2008 at 11:12 AM, Gustavo Narea <[EMAIL PROTECTED]> wrote:
> > Oh, two more questions: Did you change "User.user_name" to something else
> > in your model? May I see the lines that start with "base_config.sa_auth"
> > in {yourpackage}.config.app_cfg?
>
> model is a pristine copy (with a different namespace of course) of the
> quickstarted one.
>
> class User(DeclarativeBase):
> ....
> user_name = Column(Unicode(16), unique=True)
> .....
>
> app_config has
> #Configure the authentication backend
> base_config.auth_backend = 'sqlalchemy'
> base_config.sa_auth.dbsession = model.DBSession
> base_config.sa_auth.user_class = model.User
> base_config.sa_auth.group_class = model.Group
> base_config.sa_auth.permission_class = model.Permission
>
> # override this if you would like to provide a different who plugin for
> # managing login and logout of your application
> base_config.sa_auth.form_plugin = None
>
> > Cheers.
> >
> > On Tuesday November 18, 2008 17:31:44 Jorge Vargas wrote:
> >> On Tue, Nov 18, 2008 at 10:25 AM, Jorge Vargas <[EMAIL PROTECTED]>
> >
> > wrote:
> >> > On Tue, Nov 18, 2008 at 10:00 AM, Gustavo Narea <[EMAIL PROTECTED]>
> >
> > wrote:
> >> >> On Tuesday November 18, 2008 16:51:21 Jorge Vargas wrote:
> >> >>> I just ran this and I'm getting 'not autenticated' I checked the SA
> >> >>> logs and it is returning the correct Row so it seems to be working
> >> >>> fine on the backend.
> >> >>
> >> >> Hmmm... can you please run the application with the following
> >> >> command: WHO_LOG=1 paster serve --reload development.ini
> >> >> and then paste the output of `paster` when you visit
> >> >> http://127.0.0.1:8080/ ?
> >> >
> >> > awesome undocumented flag
> >> >
> >> > http://paste.chrisarndt.de/paste/86f10f5c74414c26a37a54f760f0a5cb
> >> >
> >> > here is the output
> >>
> >> this part of the log seems more useful
> >> http://paste.turbogears.org/paste/12746
> >>
> >> >> Cheers.
> >> >> --
> >> >> Gustavo Narea <http://gustavonarea.net/>.
> >> >>
> >> >> Get rid of unethical constraints! Get freedomware:
> >> >> http://www.getgnulinux.org/
> >
> > --
> > Gustavo Narea <http://gustavonarea.net/>.
> >
> > Get rid of unethical constraints! Get freedomware:
> > http://www.getgnulinux.org/
>
>
--
Gustavo Narea <http://gustavonarea.net/>.
Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---