lib/proxes/controllers/auth_identity.rb in proxes-0.1.0 vs lib/proxes/controllers/auth_identity.rb in proxes-0.2.0
- old
+ new
@@ -7,9 +7,10 @@
haml :'identity/login', locals: { title: 'Log In' }
end
# Failed Login
post '/_proxes/auth/identity/callback' do
+ broadcast(:identity_failed_login)
flash[:warning] = 'Invalid credentials. Please try again.'
redirect '/auth/identity'
end
get '/auth/identity/register' do