mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Test akismet plugin signup
This commit is contained in:
parent
4f38148087
commit
84e7ff2757
2 changed files with 40 additions and 10 deletions
|
@ -217,12 +217,13 @@ export class UsersCommand extends AbstractCommand {
|
|||
username: string
|
||||
password?: string
|
||||
displayName?: string
|
||||
email?: string
|
||||
channel?: {
|
||||
name: string
|
||||
displayName: string
|
||||
}
|
||||
}) {
|
||||
const { username, password = 'password', displayName, channel } = options
|
||||
const { username, password = 'password', displayName, channel, email = username + '@example.com' } = options
|
||||
const path = '/api/v1/users/register'
|
||||
|
||||
return this.postBodyRequest({
|
||||
|
@ -232,7 +233,7 @@ export class UsersCommand extends AbstractCommand {
|
|||
fields: {
|
||||
username,
|
||||
password,
|
||||
email: username + '@example.com',
|
||||
email,
|
||||
displayName,
|
||||
channel
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue