keep user password during registration

Author Message

Claudia Kosny

Friday 03 November 2006 8:26:22 am

Hi there

I hava a user registration form where some fields are required. When I try to register and leave some required fields empty, the form is displayed again and I get the validation errors. This works fine.
The problem is that if the validation fails for some reason the fields for user password and password confirmation are always emptied again so I have to type them in although originally maybe only the first name was missing.
Is there any way to keep the provided password and confirmation so I can use it as default value for the form again? I know that once the registration is successful only the md5 of the password is stored but I only want to keep the passwords that are provided in the current draftas long as the draft is still edited.

I have tried to the attribute 'original_password' of the ezuser object but this is set to false.

Thanks for any tips or hints

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 03:59:53
Script start
Timing: Jan 20 2025 03:59:53
Module start 'layout'
Timing: Jan 20 2025 03:59:53
Module start 'content'
Timing: Jan 20 2025 03:59:55
Module end 'content'
Timing: Jan 20 2025 03:59:55
Script end

Main resources:

Total runtime1.6305 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.1719152.6250
Module start 'layout' 0.00470.0034 741.796939.4453
Module start 'content' 0.00801.6202 781.2422400.7891
Module end 'content' 1.62820.0022 1,182.03138.1563
Script end 1.6304  1,190.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2255160.0002
Check MTime0.00170.1035160.0001
Mysql Total
Database connection0.00060.035310.0006
Mysqli_queries1.588497.4210460.0345
Looping result0.00040.0266440.0000
Template Total1.594897.820.7974
Template load0.00210.131520.0011
Template processing1.592797.681820.7963
Template load and register function0.00020.013410.0002
states
state_id_array0.00180.109410.0018
state_identifier_array0.00270.167920.0014
Override
Cache load0.00160.0979100.0002
Sytem overhead
Fetch class attribute can translate value0.00410.254510.0041
Fetch class attribute name0.00090.052610.0009
XML
Image XML parsing0.00020.014710.0002
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00110.0676100.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs