Add authorization for rescue interface

Change logic for NCCU site for status panel.
This commit is contained in:
Matthew K. Fu JuYuan committed 2012-08-12 23:29:13 +08:00
1 parent 6059edad70
commit f1b4d9e204
7 files changed
+10 -8

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
Resque::Server.use(Rack::Auth::Basic) do |user, password|
password == "SD-7506D"
end