175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
**
** %fossil user password USERNAME
**
** Change the web access password for a user.
*/
void user_cmd(void){
int n;
db_find_and_open_repository();
if( g.argc<3 ){
usage("capabilities|default|list|new|password ...");
}
n = strlen(g.argv[2]);
if( n>=2 && strncmp(g.argv[2],"new",n)==0 ){
Blob passwd, login, contact;
|
|
|
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
**
** %fossil user password USERNAME
**
** Change the web access password for a user.
*/
void user_cmd(void){
int n;
db_find_and_open_repository(1);
if( g.argc<3 ){
usage("capabilities|default|list|new|password ...");
}
n = strlen(g.argv[2]);
if( n>=2 && strncmp(g.argv[2],"new",n)==0 ){
Blob passwd, login, contact;
|