Jump to content

Login. MySQL Database


newbie LAC

Recommended Posts

Hello,

I have 2 login handlers with remote database connection.

db.jpg.338ccda6953b509784fa16b8b978a81a.jpg

handlers.jpg.4fe233ef7cd92874c2eef7d0f4e41edd.jpg

In the MySQL Database #2 I have a user Test

When I check the name I get FALSE

\IPS\Login::usernameIsInUse('Test');


Reason

\system\Login\Handler\ExternalDatabase\ExternalDatabase.php

You use the same identifier (external_login) for all connections

return \IPS\Db::i( 'external_login', $this->settings );

the first of the list is used

Solution

Change 

'external_login'

to 

'external_login_' . $this->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...