aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-04 16:46:44 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-04 16:47:06 +0100
commit3d95adfa00bfa0d9bc515d0c9c8479bccd65407b (patch)
tree1527f820304ab86200147f781f784eaa0cad1bb3 /client
parentfix disabled fields not submitting (diff)
downloadscout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.tar.gz
scout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.zip
logout user if token expired + set password page
Diffstat (limited to 'client')
-rw-r--r--client/migrations/0012_remove_usercode_midata_code.py17
-rw-r--r--client/models.py1
2 files changed, 17 insertions, 1 deletions
diff --git a/client/migrations/0012_remove_usercode_midata_code.py b/client/migrations/0012_remove_usercode_midata_code.py
new file mode 100644
index 0000000..3f3d876
--- /dev/null
+++ b/client/migrations/0012_remove_usercode_midata_code.py
@@ -0,0 +1,17 @@
+# Generated by Django 3.1.4 on 2022-01-04 15:09
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('client', '0011_usercode_midata_code'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='usercode',
+ name='midata_code',
+ ),
+ ]
diff --git a/client/models.py b/client/models.py
index 5f0da0d..b94806b 100644
--- a/client/models.py
+++ b/client/models.py
@@ -115,7 +115,6 @@ class UserCode(models.Model):
avs_number = models.CharField(default="", max_length=250)
midata_id = models.IntegerField(default=0)
midata_token = models.CharField(default="", max_length=1024)
- midata_code = models.CharField(default="", max_length=1024)
class GroupSettings(models.Model):
group = models.ForeignKey(Group, default=None, on_delete=models.CASCADE)