How can i use the Login snippet to authenticate user/pass values coming from $_POST (instead of the Login form)?
Thanks
-
β A M B β
- 24,524 Posts
$_POST is $_POST, whether itβs from the login form or some other source. The WebLogin is looking for specific $_POST fields, so what you need to do is use a plugin to set the fields WebLogin is looking for from the $_POST values your other source is supplying. Then the WebLogin snippet will happily process its $_POST field values.
Thank you SOO much...
By the way im using "Login" for Revolution but works all the same.
This could be a really great addition to the documentation.
Diego.