Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not require Email-Notify permission to operate the /alerts page with a valid subscriberCode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:159105895173a45d54d8586064e1d220c5d2fc7cff782a60686022b0bdc79c98
User & Date: drh 2018-06-23 19:55:52
Context
2018-06-23
20:11
Fix typos and update documentation. check-in: 08165ad4 user: drh tags: trunk
19:55
Do not require Email-Notify permission to operate the /alerts page with a valid subscriberCode. check-in: 15910589 user: drh tags: trunk
19:51
Fix the use of captchas on the /msgadmin page. check-in: 43532cd1 user: drh tags: trunk
Changes

Changes to src/email.c.

1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
  const char *smip;
  const char *suname;
  int eErr = 0;
  char *zErr = 0;

  if( email_webpages_disabled() ) return;
  login_check_credentials();
  if( !g.perm.EmailAlert ){
    cgi_redirect("subscribe");
    return;
  }
  if( zName==0 && login_is_individual() ){
    zName = db_text(0, "SELECT hex(subscriberCode) FROM subscriber"
                       " WHERE suname=%Q", g.zLogin);
  }
  if( zName==0 || !validate16(zName, -1) ){
    cgi_redirect("subscribe");
    return;







<
<
<
<







1099
1100
1101
1102
1103
1104
1105




1106
1107
1108
1109
1110
1111
1112
  const char *smip;
  const char *suname;
  int eErr = 0;
  char *zErr = 0;

  if( email_webpages_disabled() ) return;
  login_check_credentials();




  if( zName==0 && login_is_individual() ){
    zName = db_text(0, "SELECT hex(subscriberCode) FROM subscriber"
                       " WHERE suname=%Q", g.zLogin);
  }
  if( zName==0 || !validate16(zName, -1) ){
    cgi_redirect("subscribe");
    return;