Skip to content

Commit

Permalink
Merge pull request #10 from fga-gpp-mds/application_refactor
Browse files Browse the repository at this point in the history
pull request refactor to devel
  • Loading branch information
LucasAmoedo authored Sep 21, 2016
2 parents c345337 + 9bd3668 commit ab5d3a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion observatorio-server/app/controllers/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ class SessionsController < ApplicationController
def create
user = User.find_by_email(params[:email])
if user && user.password_digest == params[:password]
session[:user_id] = user.id
render json: user
else
render json:{}
Expand Down

0 comments on commit ab5d3a6

Please sign in to comment.