Commit graph

16 commits

Author SHA1 Message Date
Matt Rogers
a07567086c Add flash styling of the login page. 2015-12-15 20:02:53 -06:00
Matt Rogers
89506dbeb7 Redesign the login page
Makes use of both bootstrap and a rendering of the Tracks logo to
provide a bit better experience in term of brand identity as well as
also supporting mobile better.
2015-12-15 20:02:53 -06:00
Reinier Balt
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +02:00
Reinier Balt
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
rverchere
b9f1f57740 Closes #1023. Display login form when ldap is the only auth system 2010-04-16 04:29:29 +08:00
Erik Ordway
901af95c69 clean up debug code and get new user correct 2010-01-12 17:18:01 -08:00
Erik Ordway
5b431ef50a This allows CAS to work side by side with other Auth methods.
This is at least one issue with this

to logout of CAS you need session information but the logout method blows this away so I do the cas log out before the session is killed so the session persistest in rails.  Because I needed to move the CAS before filters into login_cas and out of the application to make it work side by side.   The user will still be logined into tracks even though their CAS session is closed as the session will still be there.

 def logout
    @user.forget_me if logged_in?
    cookies.delete :auth_token
    session['user_id'] = nil
    if ( SITE_CONFIG['authentication_schemes'].include? 'cas')  && session[:cas_user]
      CASClient::Frameworks::Rails::Filter.logout(self)
    else
      reset_session
      notify :notice, "You have been logged out of Tracks."
      redirect_to_login
    end
  end

The other issue I have with this is that:
I could not find a use case for having mixed auth when using CAS. The reason to move to CAS is that all your users use CAS all the time. Even for admin accounts. Moodle is a good example of this in that when you activate CAS the default is that you can now only access moodle via CAS. By allowing mixed auth and self signup you end up with a anyone (the public) being able to sign up for accounts.
2010-01-12 17:17:56 -08:00
Erik Ordway
f259924a85 when CAS is switched app functions as normal but does not use any other auth methods. 2009-12-18 09:42:05 -05:00
Erik Ordway
1621a7bb7d properly insert CAS as another auth method 2009-12-18 09:40:12 -05:00
Eric Allen
bb0b602b6c Minor refactoring to fix login 2009-10-18 18:23:33 -04:00
Eric Allen
4c68144c93 Login form working in jQuery 2009-09-05 15:23:57 -04:00
Eric Allen
fac5e7ca83 No more CookieManager since it's dependent on Prototype 2009-09-05 15:23:33 -04:00
Eric Allen
930999829b Re-write OpenID code to use new authentication plugin. Tested to work! 2008-12-08 00:52:57 -05:00
Reinier Balt
4dcb370389 applied the patches from Jakub to improve the mobile html
Thanks Jakub
2008-12-04 16:52:17 +01:00
bsag
4cbf5a34d3 Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
2008-05-20 21:28:26 +01:00
Renamed from tracks/app/views/login/login.html.erb (Browse further)