Needs review
Project:
Restrict Role Login by IP
Version:
8.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Aug 2019 at 15:07 UTC
Updated:
17 Oct 2023 at 08:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lexsoft00 commentedComment #3
lexsoft00 commentedComment #4
nubeli commentedThe patch works, though one line should be changed:
unset($roles[array_search(t('Authenticated user'), $roles)]);should probably beunset($roles['authenticated']);. I don't think the key ever changes so not clear why code was checking values.Comment #5
2phaThis is also an issue in the 2.x branch when navigating to the config page the first time.