Sha256: aaaf34fd3b71bc0f6ee9a1ade538aaa2b2e3e5a74c0ec46cc88fe3deb5c6b2b6
Contents?: true
Size: 222 Bytes
Versions: 2
Compression:
Stored size: 222 Bytes
Contents
# If user failed to authenticate, toss them out. Authenticate.lifecycle.after_authentication name: 'authenticatable' do |user, session, opts| throw(:failure, 'Wrong email or password.') unless session.authenticated? end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authenticate-0.2.0 | lib/authenticate/callbacks/authenticatable.rb |
authenticate-0.1.0 | lib/authenticate/callbacks/authenticatable.rb |