| Store | Cart

mod_python, user missing

From: KasiKuula <Kasi...@luuseri.net>
Sat, 26 Mar 2005 10:04:18 +0200
So damn simple that i am embarrassed :D
Now my news get added with user.
Thanks :)

--
  (8)


grahamd at dscpl.com.au wrote:

> Good question, according to the documentation it should work, I'll> push this onto the mod_python mailing list for discussion and get a> bug report posted if necessary.> > In the meantime, you could use the following work around:> > def __auth__(req, user, passwd):>      req.user = user>      if user == 'noppa' and passwd == 'potti':>          return True>        else:>          return False> > Ie., explicitly set "req.user" in the __auth__ method.> 

Recent Messages in this Thread
KasiKuula Mar 25, 2005 06:14 pm
grah...@dscpl.com.au Mar 25, 2005 10:18 pm
KasiKuula Mar 26, 2005 08:04 am
grah...@dscpl.com.au Mar 25, 2005 10:52 pm
Messages in this thread