diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-10-12 11:57:55 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-11-02 13:39:02 +0300 |
commit | cd3b4ba4abdc96341f38d1919cb5e76f46f11b07 (patch) | |
tree | b8704ef71133924fb6611d74ac12f4b9715e7cc0 /doc | |
parent | fbdf057898475653c847601f257e140494944f46 (diff) |
Remove gitlab:users:clear_all_authentication_tokens rake task
Diffstat (limited to 'doc')
-rw-r--r-- | doc/raketasks/user_management.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/raketasks/user_management.md b/doc/raketasks/user_management.md index 3ae46019daf..5554a0c8b78 100644 --- a/doc/raketasks/user_management.md +++ b/doc/raketasks/user_management.md @@ -149,18 +149,3 @@ cp config/secrets.yml.bak config/secrets.yml sudo /etc/init.d/gitlab start ``` - -## Clear authentication tokens for all users. Important! Data loss! - -Clear authentication tokens for all users in the GitLab database. This -task is useful if your users' authentication tokens might have been exposed in -any way. All the existing tokens will become invalid, and new tokens are -automatically generated upon sign-in or user modification. - -``` -# omnibus-gitlab -sudo gitlab-rake gitlab:users:clear_all_authentication_tokens - -# installation from source -bundle exec rake gitlab:users:clear_all_authentication_tokens RAILS_ENV=production -``` |