engines/adva_user/vendor/plugins/authentication/lib/authentication.rb
def assign_password
      return true if password.blank?
      self.class.authentication_modules.each do |mod|
        mod.assign_password self, password if mod.respond_to? :assign_password
      end
      true
    end
# before_validation callback let authentication modules set password.
# If a module does not allow setting a password it should just not implement
# the assign_password function.
#
# NOTE: If password is blank nothing is done. This is to prevent
# the common case of empty passwords on a form from blanking out a
# password. The side effect is that you cannot specifically have a
# blank password.
before_validation callback let authentication modules set password.
If a module does not allow setting a password it should just not implement
the assign_password function.

If password is blank nothing is done. This is to prevent
the common case of empty passwords on a form from blanking out a
password. The side effect is that you cannot specifically have a
blank password.
before_validation callback let authentication modules set password . If a module does not allow setting a password it should just not implement the assign_password function . If password is blank nothing is done . This is to prevent the common case of empty passwords on a form from blanking out a password . The side effect is that you cannot specifically have a blank password .
def assign_password
      return true if password.blank?
      self.class.authentication_modules.each do |mod|
        mod.assign_password self, password if mod.respond_to? :assign_password
      end
      true
    end
def assign_password return true if password . blank? self . class . authentication_modules . each do | mod | mod . assign_password self , password if mod . respond_to? :assign_password end true end
before_validation callback let authentication modules set password.
before_validation callback let authentication modules set password .