Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Ben Edmunds[/eluser]
Schumacher,

This jQuery code should get you started:

Code:
var email = $('#loginForm input[name|=email]').val();
var password = $('#loginForm input[name|=password]').val();
$.post('auth/login', {email: email, password: password}, function(data) {
    obj = $.parseJSON(data);
});

You would then create a JSON response from auth/login and process it with JS.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 04-12-2010, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB