Changeset 7452


Ignore:
Timestamp:
Mar 2, 2018, 9:21:36 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #2097: Implement support for device verification

Write email sending error to log file.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/Message.java

    r7381 r7452  
    463463    catch (EmailException ex)
    464464    {
     465      Application.getLogger().error("Could not send email for message: " + this, ex);
    465466      throw new BaseException("Could not send email for message:" + this, ex);
    466467    }
  • trunk/src/core/net/sf/basedb/core/SessionControl.java

    r7451 r7452  
    531531      catch (EmailException ex)
    532532      {
     533        log.error("Could not send verification code", ex);
    533534        throw new LoginException("Could not send verification code", ex);
    534535      }
  • trunk/src/core/net/sf/basedb/core/User.java

    r7410 r7452  
    655655    catch (EmailException ex)
    656656    {
     657      Application.getLogger().error("Could not send verification code", ex);
    657658      throw new LoginException("Could not send verification code", ex);
    658659    }
  • trunk/www/views/devices/index.jsp

    r7411 r7452  
    6060<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
    6161<%!
    62   private static final ItemContext defaultContext = Base.createDefaultContext("name", "name,client,lastUsed,lastRemoteId,description");
     62  private static final ItemContext defaultContext = Base.createDefaultContext("name", "name,client,lastUsed,lastRemoteId,location,description");
    6363  private static final Item itemType = Item.USERDEVICE;
    6464%>
Note: See TracChangeset for help on using the changeset viewer.