Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

passing verified by default 2.5

DkSDkS New
edited January 2018 in Vanilla 2.0 - 2.8

I have done a clean install of vanilla 2.5 and I am using jsconnect I have no issue loging the user in everything seems to work great. my question is my users are verified on my register login page is there any way to send verified through the js parameters below? because I notice I still have to click verified on the user profile.

`if ($signedIn) {
$user['uniqueid'] = $_SESSION['ID'];
$user['name'] = $_SESSION['Name'];
$user['email'] = $_SESSION['Email'];

// 4. Generate the jsConnect string.
// This should be true unless you are testing.
// You can also use a hash name like md5, sha1 etc which must be the name as the connection settings in Vanilla.
$secure = true;
WriteJsConnect($user, $_GET, $clientID, $secret, $secure);`
Sign In or Register to comment.