|
|
@ -24,7 +24,7 @@ class AccountController < ApplicationController
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
skip_before_filter :check_authentication, :only => [:login, :logout, :user_join, :avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info]
|
|
|
|
skip_before_filter :check_authentication, :only => [:login, :logout, :user_join, :avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info]
|
|
|
|
before_filter :auth_login1, :only => [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :reset_psd, :user_info]
|
|
|
|
before_filter :auth_login1, :only => [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :reset_psd, :user_info]
|
|
|
|
skip_before_filter :verify_authenticity_token, :only =>[:codepedia_login, :login]
|
|
|
|
skip_before_filter :verify_authenticity_token, :only =>[:codepedia_login, :login, :register]
|
|
|
|
before_filter :require_login, only: [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info, :user_auth, :apply_auth, :apply_pro_certification, :check_student_id,
|
|
|
|
before_filter :require_login, only: [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info, :user_auth, :apply_auth, :apply_pro_certification, :check_student_id,
|
|
|
|
:bind_email, :change_or_bind]
|
|
|
|
:bind_email, :change_or_bind]
|
|
|
|
include ApplicationHelper
|
|
|
|
include ApplicationHelper
|
|
|
|