Jump to content

Safety1st

Clients
  • Posts

    216
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Safety1st

  1. Endless request for a new code 🙂

     

    I found out the circumstances for what happening: it happens when client uses private IP:

    Logged in from a new device but did not complete two-factor authentication: Edge 121.0.0.0 on Windows.
    1 hour ago   10.1.140.205

    It is used when a user connects from inside the hosting network (using VPN). From outside 2FA works well.

  2. There are more important things that were already described:
    • removing connection to particular payment system;
    • using more intelligent check;
    • compatibility with the must have plugin KS.

    Here are the results:

    public static function hookData() {
     return array_merge_recursive( array (
      'post' => 
      array (
        0 => 
        array (
          'selector' => 'ul.ipsComment_controls.ipsClearfix[data-role=\'commentControls\']',
    /* Is the link not valid? */
    if ( $val != NULL && mb_strpos( $val, 'https://www.paypal.com' ) === FALSE && mb_strpos( $val, 'https://www.paypal.me' ) === FALSE )
    {
    
    	throw new \DomainException( 'tipAuthor_notValid' );
    }

     

×
×
  • Create New...