=head2 CompletePasswordRecovery
- $bool = CompletePasswordRevovery($uuid);
+ $bool = CompletePasswordRecovery($uuid);
Deletes a password recovery entry.
},
);
+=head1 PRIMARY KEY
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-03 12:08:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ORAWxUHIkefSfPSqrcfeXA
+=over 4
+=item * L</borrowernumber>
+
+=back
+
+=cut
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->set_primary_key("borrowernumber");
+
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2016-01-22 10:16:52
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c4ehAGqOD6YHpGg85BX8YQ
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+
1;
borrowernumber int(11) NOT NULL,
uuid varchar(128) NOT NULL,
valid_until timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (borrowernumber),
KEY borrowernumber (borrowernumber)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT IGNORE INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type)
VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email');
`borrowernumber` int(11) NOT NULL, -- the user asking a password recovery
`uuid` varchar(128) NOT NULL, -- a unique string to identify a password recovery attempt
`valid_until` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, -- a time limit on the password recovery attempt
+ PRIMARY KEY (`borrowernumber`),
KEY borrowernumber (borrowernumber)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Table structure for table borrower_sync
#!/usr/bin/perl
-use strict;
use Modern::Perl;
use CGI;