aha, thanks a ton. On Tuesday, November 13, 2012 4:58:15 AM UTC-5, Thomas Kjeldahl Nilsson wrote: > > On 11/13/2012 04:07 AM, Rohit Ramesh wrote: > > I was cleaning up some random logins, and I seem to have suspended my > > admin user. > > > > I've got a significant amount of work under that username, and it > > would be nice to unsuspend it without losing my repositories and > whatnot. > > > > Is there any way i can dot his with SSH access to the server running > > gitorious? > > > > A quick modification of the suspend-user script to call > > user.unsuspend, didn't seem to do anything. > > -- > > To post to this group, send email to [email protected]<javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > Hello Rohit, > > this should work: log in via ssh, go to the root of your gitorious > installation, run something like this: > RAILS_ENV=production script/runner > 'u=User.find_by_email("ADMIN_EMAIL_ADDRESS");u.suspended_at=nil;u.save!' > > -- > best regards, > Thomas Kjeldahl Nilsson > Partner & programmer, Gitorious AS > http://gitorious.com > >
-- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
