app/controllers/adminpanel/sessions_controller.rb in adminpanel-1.2.9 vs app/controllers/adminpanel/sessions_controller.rb in adminpanel-1.2.10
- old
+ new
@@ -13,13 +13,13 @@
def create
user = User.find_by_email(params[:session][:email].downcase)
if user && user.authenticate(params[:session][:password])
sign_in user
- flash[:success] = I18n.t("authentication.signin success")
+ flash[:success] = I18n.t("authentication.signin_success")
redirect_to root_url
else
- flash.now[:error] = I18n.t("authentication.signin error")
+ flash.now[:error] = I18n.t("authentication.signin_error")
render 'new'
end
end
def destroy