Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the user authenticate cleanup is broken here. I have removed one case, because the installer already add user 1, the other simply was broken.
Comment | File | Size | Author |
---|---|---|---|
#3 | user_registration_565290-3.patch | 17.04 KB | floretan |
#1 | user_registration_565290.patch | 17.04 KB | floretan |
user_register.patch | 6.23 KB | chx | |
Comments
Comment #1
floretan CreditAttribution: floretan commentedFix a little error ($form_state needs to have 'uid' set before it gets passed to user_login_submit()) and rewrite the user registration test for a more complete coverage of different configurations.
Comment #3
floretan CreditAttribution: floretan commentedRe-rolled the patch. No real changes to the code.
Comment #4
roychri CreditAttribution: roychri commentedThe code looks clean. It seem to follow the coding standards. It passes the simpletest and my own tests.
This looks good.
Comment #5
Dries CreditAttribution: Dries commentedCommited to CVS HEAD. Thanks.
Comment #7
drupal_was_my_past CreditAttribution: drupal_was_my_past commentedMarked #565924: Remove code for user 1 creation from user_register_submit() as a duplicate.