Sha256: e6f63acbcbad904d7a680c749e8ca5005b357d929599cf0e79d2b3dc8abb62a8
Contents?: true
Size: 507 Bytes
Versions: 19
Compression:
Stored size: 507 Bytes
Contents
module RailsBase::UserSettingsHelper CONFIRM_PASSWORD_FLOW = { password_flow: 'rails_base/user_settings/modify_password_update_password', destroy_user: 'rails_base/user_settings/confirm_destroy_user' } DATUM_LENGTH = 36 DATUM_TTL = 30.seconds DATUM_REASON = :confirm_password def datum params = { user: current_user, max_use: 1, reason: DATUM_REASON, ttl: DATUM_TTL, length: DATUM_LENGTH, } ShortLivedData.create_data_key(**params) end end
Version data entries
19 entries across 19 versions & 1 rubygems