mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-13 13:46:13 +00:00
@@ -66,11 +66,6 @@ class AnikeenId
|
||||
*/
|
||||
private static string $refreshTokenField = 'anikeen_id_refresh_token';
|
||||
|
||||
/**
|
||||
* Anikeen ID environment mode.
|
||||
*/
|
||||
protected static ?string $mode = null;
|
||||
|
||||
/**
|
||||
* Guzzle is used to make http requests.
|
||||
*/
|
||||
@@ -148,7 +143,7 @@ class AnikeenId
|
||||
|
||||
public static function getMode(): string
|
||||
{
|
||||
return config('services.anikeen.mode', 'production');
|
||||
return config('services.anikeen.mode') ?: 'production';
|
||||
}
|
||||
|
||||
public static function useRefreshTokenField(string $refreshTokenField): void
|
||||
|
||||
Reference in New Issue
Block a user