Jump to content

Problem with login handler


Firdavs Khaydarov

Recommended Posts

 

			/* Try to find member */
			$member = \IPS\Member::load( $userData['id'], 'my_custom_id' );

You can't use my_custom_id here

Your error

system/Patterns/ActiveRecord.php

		/* If we did, check it's valid */
		elseif( !in_array( $idField, static::$databaseIdFields ) )
		{
			throw new \InvalidArgumentException;
		}

system/Member/Member.php

	/**
	 * @brief	[ActiveRecord] Database ID Fields
	 */
	protected static $databaseIdFields = array( 'name', 'email', 'fb_uid', 'live_id', 'google_id', 'linkedin_id', 'ipsconnect_id', 'twitter_id' );

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...