Posted By

griffpup on 08/01/11


Tagged

textmate authentication sinatra


Versions (?)

sinatra login


 / Published in: Other
 

  1. use Rack::Auth::Basic, "Restricted Area" do |username, password|
  2. [username, password] == ['admin', 'stella']
  3. end

Report this snippet  

You need to login to post a comment.