Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6.1 is here with critical security patches. One of them has been publicly disclosed.

passing verified by default 2.5

DkSDkS New
edited January 4 in Vanilla 2.5 Help

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) {
// CHANGE THESE FOUR LINES.
$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.