Fix template variable access for user role check
- Change current_user.role to current_user.get('role') to match template conventions - User object is passed as dictionary, not object with attributes
Showing
Please
register
or
sign in
to comment