Hi. On Wed, Jun 23, 2010 at 1:05 PM, Derek Ekins <de...@spathi.com> wrote: > If I click login I can enter my credentials (the admin account I setup > previously) and it seems to log me in (if I enter the wrong password I > don't go anywhere). I get redirected back to the dashboard, however > nothing has changed at all.
This comes up all the time (maybe something should be added to the docs) and more or less qualifies as a FAQ already: The most probable reason for your problem (been there..) is that the login cookie isn't set. While that might have several causes, the one that usually bites people is a) Your installation has no valid domain for a cookie (e.g. localhost) b) Your installation tries to set a cookie for a different domain that the serving one (You access http://localhost but the cookie is set for http://your.qualified.gitorious) If you don't care about the domain part of the cookie you can disable it: git diff config/initializers/session_store.rb diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 7384f93..fba9164 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -8,7 +8,7 @@ gitorious_yaml = YAML::load_file(File.join(Rails.root, "config/gitorious.yml"))[ ActionController::Base.session = { :key => '_gitorious_sess', :secret => gitorious_yaml['cookie_secret'], - :domain => ".#{gitorious_yaml["gitorious_host"]}", +# :domain => ".#{gitorious_yaml["gitorious_host"]}", :expire_after => 3.weeks, } HTH, Ben -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com