1. 10 Jan, 2012 2 commits
    • Richard Mansfield's avatar
      Expire users when they've been inactive for too long (bug #890929) · 81f26254
      Richard Mansfield authored
      
      
      The "Default account inactivity time" setting allows the admin to
      specify a time period after which users who have not used the site
      will be unable to login, but this is not currently enforced.
      
      This change modifies the inactivity cron job to set the expiry date to
      the current date for any user who has been inactive for longer than
      the 'defaultaccountinactiveexpire' period.  It also now considers the
      lastaccess and ctime fields as well as the lastlogin field.
      
      This allows the admin to reactivate inactive users by resetting their
      expiry dates in account settings.
      
      The active column on the user table is currently only used to decide
      whether users should be displayed in search results, and users are set
      to inactive whenever they are deleted, suspended, or expire.
      
      Change-Id: Ieaf7a0b36865af726fc2526895146373efbb2741
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      81f26254
    • Richard Mansfield's avatar
      Remove unused inactive check from login code (bug #890929) · abda43b5
      Richard Mansfield authored
      
      
      This code was never run because the $oldlastlogin variable was
      hardcoded to 0.  The code can be removed altogether, and instead rely
      on cron to set expiry dates on inactive users.
      
      Change-Id: I9883a7720960f2337edf060197346cd17f0193c5
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      abda43b5
  2. 09 Jan, 2012 1 commit
  3. 21 Dec, 2011 2 commits
  4. 20 Dec, 2011 1 commit
  5. 16 Dec, 2011 5 commits
  6. 14 Nov, 2011 1 commit
  7. 02 Nov, 2011 1 commit
  8. 27 Oct, 2011 1 commit
  9. 15 Sep, 2011 1 commit
  10. 20 Jul, 2011 1 commit
    • Piers Harding's avatar
      Add SAML based SSO Login link · a95292b4
      Piers Harding authored
      
      
      Bug #810302
      
      Add a link to auth/saml if the SAML auth plugin is enabled
      This appears on all login panels
      (whitespace given back)
      Switched to checking auth_instance
      Moved login string to this commit
      This appears on login diversion page
      
      Change-Id: Ia8a799396a9f33bc0cc6e0c59549e2464253ca31
      Signed-off-by: default avatarPiers Harding <piers@catalyst.net.nz>
      a95292b4
  11. 01 Jul, 2011 1 commit
  12. 22 Jun, 2011 1 commit
  13. 21 Jun, 2011 1 commit
  14. 20 Jun, 2011 1 commit
  15. 12 Jun, 2011 1 commit
  16. 26 May, 2011 1 commit
  17. 13 May, 2011 1 commit
  18. 09 May, 2011 1 commit
  19. 03 May, 2011 1 commit
  20. 15 Apr, 2011 1 commit
  21. 07 Apr, 2011 1 commit
  22. 22 Feb, 2011 1 commit
  23. 19 Jan, 2011 1 commit
  24. 09 Nov, 2010 1 commit
  25. 16 Sep, 2010 2 commits
  26. 07 Sep, 2010 1 commit
  27. 20 Jul, 2010 1 commit
  28. 04 Jul, 2010 1 commit
  29. 03 Jun, 2010 1 commit
  30. 07 May, 2010 1 commit
  31. 08 Apr, 2010 1 commit
  32. 14 Mar, 2010 1 commit
  33. 11 Jan, 2010 1 commit