Created
November 4, 2010 17:34
-
-
Save fbrubacher/662830 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyApp1 < Padrino::Application | |
configure do | |
register SassInitializer | |
register Padrino::Helpers | |
register Padrino::Mailer | |
register Padrino::Warden | |
enable :sessions | |
use Rack::Session::Cookie, :key => 'rack.session', :expire_after => 31556926 | |
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