|
|
@ -21,7 +21,6 @@ class AccountController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
# prevents login action to be filtered by check_if_login_required application scope filter
|
|
|
|
# prevents login action to be filtered by check_if_login_required application scope filter
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
protect_from_forgery :except => [:login,:logout]
|
|
|
|
|
|
|
|
# Login request and validation
|
|
|
|
# Login request and validation
|
|
|
|
def login
|
|
|
|
def login
|
|
|
|
if request.get?
|
|
|
|
if request.get?
|
|
|
|