summaryrefslogtreecommitdiff
path: root/app/models/concerns/mirror_authentication.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/mirror_authentication.rb')
-rw-r--r--app/models/concerns/mirror_authentication.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/concerns/mirror_authentication.rb b/app/models/concerns/mirror_authentication.rb
index 948094221e5..4dbf4dcec77 100644
--- a/app/models/concerns/mirror_authentication.rb
+++ b/app/models/concerns/mirror_authentication.rb
@@ -37,6 +37,8 @@ module MirrorAuthentication
end
define_method("#{name}=") do |value|
+ credentials_will_change!
+
self.credentials ||= {}
# Removal of the password, username, etc, generally causes an update of