diff options
author | Stan Hu <stanhu@gmail.com> | 2018-02-17 21:29:22 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-02-17 21:30:29 -0800 |
commit | 46e6a9f8a0f2dc0ae4e3152646f319a7cb5abcb2 (patch) | |
tree | 9b5a2f638c67c3c46975827a794d019986508a7e /changelogs | |
parent | 557db7e635c70bf68a15f7029014301013b30070 (diff) | |
download | gitlab-ce-46e6a9f8a0f2dc0ae4e3152646f319a7cb5abcb2.tar.gz |
Don't attempt to update user tracked fields if database is in read-onlysh-guard-read-only-user-updates
With Geo, attempting to view an endpoint with a user could result in an
Error 500 since Devise attempts to update the last sign-in IP and other
details.
Closes gitlab-org/gitlab-ee#4972
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-guard-read-only-user-updates.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-guard-read-only-user-updates.yml b/changelogs/unreleased/sh-guard-read-only-user-updates.yml new file mode 100644 index 00000000000..b8dbd840ed9 --- /dev/null +++ b/changelogs/unreleased/sh-guard-read-only-user-updates.yml @@ -0,0 +1,5 @@ +--- +title: Don't attempt to update user tracked fields if database is in read-only +merge_request: +author: +type: fixed |