Signed-off-by: Maurice Preuß <hello@envoyr.com>
This commit is contained in:
2025-09-18 19:28:08 +00:00
parent 297404b05d
commit bb5df7f115

View File

@@ -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