summaryrefslogtreecommitdiff
path: root/app/models/integrations/bamboo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/integrations/bamboo.rb')
-rw-r--r--app/models/integrations/bamboo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/integrations/bamboo.rb b/app/models/integrations/bamboo.rb
index 590be52151c..1a7cbaa34c7 100644
--- a/app/models/integrations/bamboo.rb
+++ b/app/models/integrations/bamboo.rb
@@ -18,7 +18,7 @@ module Integrations
attr_accessor :response
- before_update :reset_password
+ before_validation :reset_password
def reset_password
if bamboo_url_changed? && !password_touched?