-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing migration for help text, fixing tests
decode_x_header now returns a None if the header isn't found (rather than a string)
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
authentication/migrations/0003_add_helptext_to_keycloak_token_fields.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.2.10 on 2024-03-06 20:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("authentication", "0002_add_keycloak_user_info_model"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="keycloakadmintoken", | ||
name="authorization_token_expires_in", | ||
field=models.IntegerField( | ||
help_text="Seconds until authentication token expires" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="keycloakadmintoken", | ||
name="refresh_token_expires_in", | ||
field=models.IntegerField( | ||
help_text="Seconds until refresh token expires", null=True | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters