Anonymous | Login | 2024-11-14 16:49 EST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0001704 | PacketFence | guests | public | 2013-09-03 07:32 | 2015-02-18 11:27 | ||||||
Reporter | maikel | ||||||||||
Assigned To | jrouzier | ||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||
Status | assigned | Resolution | open | ||||||||
Platform | OS | OS Version | |||||||||
Product Version | 4.0.5 | ||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 0001704: Guest expiration is not set using the temporary_password method | ||||||||||
Description | The default 31D expatiation of the password is never set in 4.0.5 code. It defaults to 0000-00-00 00:00:00 This makes the guest authentication per email fail, since it requires the expatriation date. commenting the function in temporary_password.pm at line 309 _update_field_for_action( $data,$actions,'expiration', 'expiration',"0000-00-00 00:00:00" ); in temporary password.pm fixxes this issue and sets the default of 31 days | ||||||||||
Tags | No tags attached. | ||||||||||
fixed in git revision | |||||||||||
fixed in mtn revision | |||||||||||
Attached Files | |||||||||||
Notes | |
(0003437) francis (administrator) 2013-09-04 15:06 |
How do you create your users? When you use the Web admin interface, the hardcoded default expiration of 31 days will never be used simply because the expiration must be specified when submitting the form. Notice that what is called the "expiration" is the end date of the registration window. |
(0003438) maikel (reporter) 2013-09-05 11:33 |
Users are created using the self registration method. Thats using a custom code block though to set the userid to the swich alias command. So the user is actually succesfully added using the /activate/email cgi code There indeed this is not set in the field thus not send. Noticed the only way to get the hardcoded 31D in there to remove the update_field_for_action code. Else the experation is not set |
Issue History | |||
Date Modified | Username | Field | Change |
2013-09-03 07:32 | maikel | New Issue | |
2013-09-04 15:06 | francis | Note Added: 0003437 | |
2013-09-05 11:33 | maikel | Note Added: 0003438 | |
2015-02-18 11:27 | lmunro | Assigned To | => jrouzier |
2015-02-18 11:27 | lmunro | Status | new => assigned |
Copyright © 2000 - 2012 MantisBT Group |