#1 2024-07-30 03:36:46

mormoter
Member
Registered: 2024-06-14
Posts: 20

how to add/change the username and password?

Default : setUser('User','synopse');

this password is too simple,how to change it ? I dont know to reference which sample

Offline

#2 2024-07-30 08:05:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: how to add/change the username and password?

You change it on the server side.

Offline

#3 2024-07-30 10:10:25

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 66

Re: how to add/change the username and password?

Several global variables are defined in the mormot.rest.core unit:AuthAdminDefaultPassword,AuthSupervisorDefaultPassword,AuthUserDefaultPassword。You can set the initial password, and then change the password through the server code

Offline

#4 2024-07-30 12:39:10

mormoter
Member
Registered: 2024-06-14
Posts: 20

Re: how to add/change the username and password?

ok,I ll try ,thank both you

Offline

Board footer

Powered by FluxBB