mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for invitations
This commit is contained in:
parent
59c54b48e4
commit
3cf2a28b49
@ -37,7 +37,10 @@ trait MakesHash
|
|||||||
*/
|
*/
|
||||||
public function createDbHash($db) : string
|
public function createDbHash($db) : string
|
||||||
{
|
{
|
||||||
|
if(config('ninja.db.multi_db_enabled'))
|
||||||
return $this->getDbCode($db).'-'. Str::random(config('ninja.key_length'));
|
return $this->getDbCode($db).'-'. Str::random(config('ninja.key_length'));
|
||||||
|
|
||||||
|
return Str::random(config('ninja.key_length'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user