Merge pull request #88 from 0xPanic/patch-1

slight typo
This commit is contained in:
Carlos Polop
2020-12-19 09:56:48 +01:00
committed by GitHub

View File

@@ -2298,7 +2298,7 @@ if [ "`echo $CHECKS | grep SofI`" ]; then
if [ "`which gitlab-rails`" ]; then if [ "`which gitlab-rails`" ]; then
echo "gitlab-rails was found. Trying to dump users..." echo "gitlab-rails was found. Trying to dump users..."
gitlab-rails runner 'User.where.not(username: "peasssssssss").each { |u| pp u.attributes }' | sed -E "s,email|password,${C}[1;31m&${C}[0m," gitlab-rails runner 'User.where.not(username: "peasssssssss").each { |u| pp u.attributes }' | sed -E "s,email|password,${C}[1;31m&${C}[0m,"
echo "If you have enough privileges, you can change the password of any user runnig: gitlab-rails runner 'user = User.find_by(email: \"admin@example.com\"); user.password = \"pass_peass_pass\"; user.password_confirmation = \"pass_peass_pass\"; user.save!'" echo "If you have enough privileges, you can change the password of any user running: gitlab-rails runner 'user = User.find_by(email: \"admin@example.com\"); user.password = \"pass_peass_pass\"; user.password_confirmation = \"pass_peass_pass\"; user.save!'"
echo "" echo ""
fi fi
if [ "`which gitlab-backup`" ]; then if [ "`which gitlab-backup`" ]; then