summaryrefslogtreecommitdiff
path: root/doc/security
diff options
context:
space:
mode:
Diffstat (limited to 'doc/security')
-rw-r--r--doc/security/unlock_user.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/security/unlock_user.md b/doc/security/unlock_user.md
index befb5d12877..bf3bbbb701e 100644
--- a/doc/security/unlock_user.md
+++ b/doc/security/unlock_user.md
@@ -16,7 +16,7 @@ To unlock a locked user:
sudo gitlab-rails console -e production
## For installations from source
- sudo -u git -H bundle exec rails console RAILS_ENV=production
+ sudo -u git -H bundle exec rails console -e production
```
1. Find the user to unlock. You can search by email or ID.