Sha256: 71b12959d628511183ecdcbf8cb81d612a8c9471674906b1dbb8118550b12f5d
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery protected def authenticate authenticate_or_request_with_http_basic do |username, password| username == "admin" && password == "p4ss" end # Only needed if Devise is running # warden.custom_failure! if performed? end end
Version data entries
8 entries across 8 versions & 2 rubygems