Skip to content

Commit

Permalink
fix typo at lib/tasks/ciphering.rake
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.redmine.org/redmine/trunk@13095 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
marutosi committed Apr 16, 2014
1 parent 8c5d881 commit 770a296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/ciphering.rake
Expand Up @@ -21,15 +21,15 @@ namespace :db do
task :encrypt => :environment do
unless (Repository.encrypt_all(:password) &&
AuthSource.encrypt_all(:account_password))
raise "Some objects could not be saved after encryption, update was rollback'ed."
raise "Some objects could not be saved after encryption, update was rolled back."
end
end

desc 'Decrypts SCM and LDAP passwords in the database.'
task :decrypt => :environment do
unless (Repository.decrypt_all(:password) &&
AuthSource.decrypt_all(:account_password))
raise "Some objects could not be saved after decryption, update was rollback'ed."
raise "Some objects could not be saved after decryption, update was rolled back."
end
end
end

0 comments on commit 770a296

Please sign in to comment.