README.md in opensesame-0.3.0 vs README.md in opensesame-0.4.0
- old
+ new
@@ -32,9 +32,13 @@
OpenSesame.configure do |config|
config.enable Rails.env.staging?
config.github ENV['GITHUB_APP_ID'], ENV['GITHUB_SECRET']
config.organization 'challengepost'
config.mounted_at '/opensesame'
+
+ config.redirect_to '/path' # Set redirect to for both login and logout
+ config.redirect_after_login '/path'
+ config.redirect_after_logout '/path'
end
```
Mount OpenSesame in your Rails routes: