diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-04 12:43:11 +0100 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-04 12:43:20 +0100 |
commit | 7e73c53f3eeb6a2c74c80ee9a00648f8cc4e9ab3 (patch) | |
tree | cca4cd2ca79613727b023fcbe362df5914b8e9ca /accounts/views.py | |
parent | autoupdate oauth token when expired (diff) | |
download | scout-subs-7e73c53f3eeb6a2c74c80ee9a00648f8cc4e9ab3.tar.gz scout-subs-7e73c53f3eeb6a2c74c80ee9a00648f8cc4e9ab3.zip |
fix disabled fields not submitting
Diffstat (limited to '')
-rw-r--r-- | accounts/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/views.py b/accounts/views.py index d8de4fe..598d300 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -488,7 +488,7 @@ def personal_wrapper(request, error, error_text): resp_data = resp.json() - midata_disable = " disabled" + midata_disable = " readonly disabled" request.user.first_name = resp_data["first_name"] request.user.last_name = resp_data["last_name"] request.user.email = resp_data["email"] |