Commits on Source (4)
-
Pascal Ernster authored
It seems that `User` objects can't be created with a `nil` password, so we have to set a password even for Shibboleth and ORCID user accounts, even though that password is never supposed to be used. Currently, we use `Devise.friendly_token` for this, but `SecureRandom` seems a better choice since it doesn't incur external dependencies/3rd party libraries (even though we currently use `Devise` nonetheless). Note: This does create passwords with binary/non-printable characters. Given the 32 byte length chosen, this gives us 256 bit entropy per password.
-
Pascal Ernster authored
According to @anusha, `hyrax/seed/crc_users.json` isn't needed anymore, so let's remove it.
-
Anusha Ranganathan authored
Remove hyrax/seed/crc_users.json See merge request FDM/rdm-system/rdms!126
-
Anusha Ranganathan authored
Merge branch '32-generate-random-passwords-with-securerandom-instead-of-devise-friendly_token' into 'develop' Generate random passwords with SecureRandom instead of Devise.friendly_token See merge request FDM/rdm-system/rdms!123
hyrax/seed/crc_users.json
deleted
100644 → 0