Sha256: 5f2a69eb6c9c6eefd00ce2f9354a0185e5bae024d22907fc337fafe01debf65d
Contents?: true
Size: 315 Bytes
Versions: 6
Compression:
Stored size: 315 Bytes
Contents
# Callback to check that the session has been authenticated. # # If user failed to authenticate, toss them out. Authenticate.lifecycle.after_authentication name: 'authenticatable' do |_user, session, _opts| throw(:failure, I18n.t('callbacks.authenticatable.failure')) unless session && session.authenticated? end
Version data entries
6 entries across 6 versions & 1 rubygems