Am trying to pass a variable to the controller using the below code. It
works well with this code:
{{extend 'layout.html'}} {{=message}} {{=T("Welcome")}}
{{=T("login")}}{{=T("Register")}} def my_views():
if request.vars>0:
out_message = request.vars
else:
out_message
Hello!
Can you take advice, how can I understan than answer from server was
received in JS?
Controller:
def swed():
ajaxAnswer = 0
return dict(ajaxAnswer=ajaxAnswer)
def VcodeToDbAndMail():
ajaxAnswer = 1
return dict(ajaxAnswer=ajaxAnswer)
JS
jQuery('#myform').submit(function() {
perhaps you can use ldap with mode='ad', and point it into ms azure ad
ref:
http://web2py.com/books/default/chapter/29/09/access-control?search=ldap#Other-login-methods-and-login-forms
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
is it possible to use MS azure actice directory for authentication in web2py?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message be
4 matches
Mail list logo