Announcement

Collapse
No announcement yet.

Admin cookie being cleared when editing users...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kibbles
    New Member
    • May 2000
    • 7

    Admin cookie being cleared when editing users...

    When I try to edit a user and click submit I'm banged to the "you're not an administrator" page.

    Steps to replicate:

    1. Switch your config.php to be "passwords visible and can be edited" (ie, $pwdincp=2;)
    2. Go to admin screens.
    3. Edit a user.
    4. Click submit.

    Blammo.

    Ya gotta test new features after you implement them. ;)

    -G
  • Rick Horwitz
    Senior Member
    • Apr 2000
    • 361
    • 3.8.x

    #2
    I had added this code to my config.php file:

    //allow password viewing / editing in control panel
    // 0 = not visible or editable
    // 1 = not visible, but can be edited
    // 2 = visible and can be edited
    $pwdincp=2;

    It seemed like a good idea at the time. That was causing the problems that I thought were cookie related. Thanks for the insight! Everything has worked fine since I removed that code.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎