Skip to content

Instantly share code, notes, and snippets.

@nu7hatch
Forked from fbrubacher/gist:662830
Created November 4, 2010 17:36
Show Gist options
  • Save nu7hatch/662834 to your computer and use it in GitHub Desktop.
Save nu7hatch/662834 to your computer and use it in GitHub Desktop.
class MyApp1 < Padrino::Application
register SassInitializer
register Padrino::Helpers
register Padrino::Mailer
register Padrino::Warden
enable :sessions
set :auth_use_referrer, true
set :auth_failure_path, "/login"
set :auth_error_message, "Sorry for the trouble, but the email and password combination you entered doesn't match. Please try again!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment