From c1a0a8e278d2201e980d44efbbb498dd12fd70d3 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 5 Jan 2007 15:54:39 +0000 Subject: [PATCH] *** empty log message *** --- PLC/Persons.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PLC/Persons.py b/PLC/Persons.py index 2f77d90b..3d05fbc3 100644 --- a/PLC/Persons.py +++ b/PLC/Persons.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Persons.py,v 1.23 2006/11/30 10:12:01 thierry Exp $ +# $Id: Persons.py,v 1.24 2006/12/05 16:45:03 thierry Exp $ # from types import StringTypes @@ -43,7 +43,9 @@ class Person(Row): 'bio': Parameter(str, "Biography", max = 254, nullok = True), 'enabled': Parameter(bool, "Has been enabled"), 'password': Parameter(str, "Account password in crypt() form", max = 254), - 'last_updated': Parameter(int, "Date and time of last update", ro = True), + 'verification_key': Parameter(str, "Reset password key", max = 254), + 'verification_expires': Parameter(str, "Date/Time verification_key expires", max = 254), + 'last_updated': Parameter(int, "Date and time of last update", ro = True), 'date_created': Parameter(int, "Date and time when account was created", ro = True), 'role_ids': Parameter([int], "List of role identifiers"), 'roles': Parameter([str], "List of roles"), @@ -328,5 +330,4 @@ class Persons(Table): elif isinstance(person_filter, dict): person_filter = Filter(Person.fields, person_filter) sql += " AND (%s)" % person_filter.sql(api, "AND") - self.selectall(sql) -- 2.47.0