Skip to content

Commit f2082ac

Browse files
committed
chore: fallback jwt key
1 parent f4dc62f commit f2082ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Kulturkortet/MunicipioAuth/controller/secure/SecureMunicipioAuthConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function expires(): int
2323

2424
public function getJWTKey(): string
2525
{
26-
return defined('SECURE_MUNICIPIO_AUTH_JWT_KEY') ? SECURE_MUNICIPIO_AUTH_JWT_KEY : '';
26+
return defined('SECURE_MUNICIPIO_AUTH_JWT_KEY') ? SECURE_MUNICIPIO_AUTH_JWT_KEY : AUTH_KEY . AUTH_SALT;
2727
}
2828

2929
public function getJWTHeaders(): array

0 commit comments

Comments
 (0)