Ignore:
Timestamp:
May 6, 2009, 3:40:07 AM (15 years ago)
Author:
gav
Message:

Logins now route through a welcome action to allow flash message and user environment setup. Session timeout now user configurable and defaults to 12 hours. Work on Planned Maintenance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/Person.groovy

    r93 r127  
    1313    String lastName
    1414    String employeeID
     15
     16    /* Set after login by 'welcome' action, default to 12 hours, aka "sess.setMaxInactiveInterval(seconds) */
     17    Integer sessionTimeout = 720
    1518
    1619        /** MD5 Password */
     
    4245        //So we need to use pass for validation then encode it for above.
    4346        pass(blank: false, minSize:4)
     47        sessionTimeout(min:60, max:720)
    4448
    4549        }
Note: See TracChangeset for help on using the changeset viewer.