Sha256: b740d994485baa04f95f62cef7f5aad810d51351e8e3bc9f344943a87171ea0f
Contents?: true
Size: 160 Bytes
Versions: 2
Compression:
Stored size: 160 Bytes
Contents
module TFA class TfasController < ActionController::Base def show @tfa = Tfa.find_by(id: params[:id]) head 404 if @tfa.used end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
2fa-0.0.2 | app/controllers/tfa/tfas_controller.rb |
2fa-0.0.1 | app/controllers/tfa/tfas_controller.rb |