# File app/controllers/metarep_controller.rb, line 35
def check_flag
  if session[:user_id]
    if User.find(session[:user_id]).flag == 'RESET'
      flash[:notice] = "Your password is a temporary password. Please change your password."
      redirect_to :action => 'change_password', :controller => 'authorize'
    end
  end
end