Ignore:
Timestamp:
Jun 5, 2020, 10:40:35 AM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2213: Extend registration of devices

A device is now registered without verification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/sessions/list_sessions.jsp

    r7604 r7815  
    8686{
    8787  final User user = User.getById(dc, sc.getLoggedInUserId());
    88   final boolean supportsDeviceVerification = EmailUtil.isEnabled() &&
    89       (user.getUseDeviceVerification() || sc.hasPermission(Permission.READ, Item.USERDEVICE));
    9088
    9189  Map<Plugin.MainType, Integer> pluginCount = PluginDefinition.countPlugins(dc, guiContext);
     
    182180        exportable="true"
    183181      />
    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      />
    200191      <tbl:columndef
    201192        id="authenticationMethod"
Note: See TracChangeset for help on using the changeset viewer.