Jason Sheldon
2015-11-29 09:57:09 UTC
Hi
Im not exactly sure why as to the best of my knowledge Im doing evrything
correctlu
I have a bottle application on https://www.xxxxx.com
Im not wanting an admin section
Thus https://www.xxxxx.com/admin
I have this in my code
def basic_check(user,pwd):
return True
#just to test for now
#return user=="admin" and pwd=="admin"
@route('/admin')
@auth_basic(basic_check)
def home():
output = template('menu' )
return output
With the basic test I kept getting the login box presented and even when I
return True same thing
What am I doing wrong?
Im on Bottle 0.12.9
Thanks
--
Im not exactly sure why as to the best of my knowledge Im doing evrything
correctlu
I have a bottle application on https://www.xxxxx.com
Im not wanting an admin section
Thus https://www.xxxxx.com/admin
I have this in my code
def basic_check(user,pwd):
return True
#just to test for now
#return user=="admin" and pwd=="admin"
@route('/admin')
@auth_basic(basic_check)
def home():
output = template('menu' )
return output
With the basic test I kept getting the login box presented and even when I
return True same thing
What am I doing wrong?
Im on Bottle 0.12.9
Thanks
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.