added: winix function 'account'
code for activating an account has been moved here from Pw changed: the form for reseting a user's password has been moved to 'passwd' winix function (it was in Pw before) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@926 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008-2012, Tomasz Sowa
|
||||
* Copyright (c) 2008-2013, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
@@ -176,7 +176,7 @@ wchar_t buff[50];
|
||||
|
||||
link = config->url_proto;
|
||||
link += config->base_url;// !! IMPROVE ME what about subdomains?
|
||||
link += L"/pw/activate/login:";
|
||||
link += L"/account/activate/login:";
|
||||
UrlEncode(name, link, false);
|
||||
link += L"/code:";
|
||||
Toa(code, buff, sizeof(buff)/sizeof(wchar_t));
|
||||
@@ -189,7 +189,7 @@ wchar_t buff[50];
|
||||
|
||||
link = config->url_proto;
|
||||
link += config->base_url;// !! IMPROVE ME what about subdomains?
|
||||
link += L"/pw/resetpassword/login:";
|
||||
link += L"/passwd/resetpassword/login:";
|
||||
UrlEncode(name, link, false);
|
||||
link += L"/code:";
|
||||
Toa(code, buff, sizeof(buff)/sizeof(wchar_t));
|
||||
|
Reference in New Issue
Block a user