[DiscordArchive] Hello, I have an issue on my server.
[DiscordArchive] Hello, I have an issue on my server.
Archived author: Miörey • Posted: 2025-03-17T12:53:19.231000+00:00
Original source
Hello, I have an issue on my server.
I migrated from TC core to AZ core.
Everything works quite well, but I have a problem with account creation.
On TC core, the account creation was:
```
.account create [ACCOUNT] [PASSWORD] [EMAIL]
```
AZ core seems to have remove the optional email:
```
AC>.account create
Syntax: .account create $account $password
```
Is it possible to activate email creation at the same time as the account?
Archived author: Ryan Turner • Posted: 2025-03-17T12:55:09.327000+00:00
Original source
You can add an emial if you're usign a like a web page. I dont think the command has the optional command for email
Archived author: Miörey • Posted: 2025-03-17T13:01:45.921000+00:00
Original source
Making the creation in 2 steps is exactly what i want to avoid.
Archived author: Ryan Turner • Posted: 2025-03-17T13:02:44.828000+00:00
Original source
Dont understand. When you create the account is via the ocmmand or webpage without any account "verification" is active out of the box
Archived author: Miörey • Posted: 2025-03-17T13:06:25.345000+00:00
Original source
In TC core I was doing in SOAP:
```.account create [ACCOUNT] [PASSWORD] [EMAIL]
```
I locked the accound and send a validation mail who unlock it,
On AZ core without emails creation I have to:
SOAP
```.account create [ACCOUNT] [PASSWORD]
```
update the email on the created account (here is my problem sometime the creation is delayed)
send the email validation.
Of cours I can do that but if is a way to create the email with soap i prefer it.
Archived author: Roboto • Posted: 2025-03-17T13:07:46.536000+00:00
Original source
If you're already updating the email via SQL then you can create the account directly with a single query instead of using soap then sql
Archived author: Roboto • Posted: 2025-03-17T13:08:36.802000+00:00
Original source
The only difficulty is hashing the password, but there are examples for a lot of different programming languages out there
Archived author: Miörey • Posted: 2025-03-17T13:12:56.258000+00:00
Original source
Yeap I know but I want to use the "official" account creation way.
The hashing part is not a problem I created the lib that manage JS hash for Node.js
and sometimes due to the way JS manage BigInts there is a different result to the one managed by C++
https://github.com/Miorey/trinitycore-srp6
Archived author: Ryan Turner • Posted: 2025-03-17T13:15:11.939000+00:00
Original source
The official creation way outside of the commadn itself there's example on the wiki
Archived author: Ryan Turner • Posted: 2025-03-17T13:15:12.920000+00:00
Original source
https://www.azerothcore.org/wiki/account#salt