Changeset 7815 for trunk/www/views/sessions/list_sessions.jsp
- Timestamp:
- Jun 5, 2020, 10:40:35 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/views/sessions/list_sessions.jsp
r7604 r7815 86 86 { 87 87 final User user = User.getById(dc, sc.getLoggedInUserId()); 88 final boolean supportsDeviceVerification = EmailUtil.isEnabled() &&89 (user.getUseDeviceVerification() || sc.hasPermission(Permission.READ, Item.USERDEVICE));90 88 91 89 Map<Plugin.MainType, Integer> pluginCount = PluginDefinition.countPlugins(dc, guiContext); … … 182 180 exportable="true" 183 181 /> 184 <% 185 if (supportsDeviceVerification) 186 { 187 %> 188 <tbl:columndef 189 id="device" 190 property="device.name" 191 datatype="string" 192 title="Device" 193 sortable="true" 194 filterable="true" 195 exportable="true" 196 /> 197 <% 198 } 199 %> 182 <tbl:columndef 183 id="device" 184 property="device.name" 185 datatype="string" 186 title="Device" 187 sortable="true" 188 filterable="true" 189 exportable="true" 190 /> 200 191 <tbl:columndef 201 192 id="authenticationMethod"
Note: See TracChangeset
for help on using the changeset viewer.