Send invitation codes to the server.

[?]
Feb 9, 2021, 5:06 PM
23JUD6QXKQC65RKPTXOREOSA4OIWORYWLX2ACJXGJGAXIONDFGRAC

Dependencies

  • [2] U7YAT2ZK Add error reporting to signup form.
  • [3] QH4UB73N Format with purty.
  • [4] O2BZOX7M Add signup form, captcha check.
  • [*] 5R2Z7FSX Initial rendering for signup controls.

Change contents

  • edit in client/src/Aftok/Api/Account.purs at line 63
    [3.1139]
    [3.1139]
    , invitation_codes :: Array String
  • replacement in client/src/Aftok/Api/Account.purs at line 66
    [3.2325][3.2325:2399](),[3.2399][3.1146:1251]()
    signupRequest :: String -> String -> RecoverBy -> String -> SignupRequest
    signupRequest username password recoverBy captchaToken = { username, password, recoverBy, captchaToken }
    [3.2325]
    [3.2507]
    signupRequest :: String -> String -> RecoverBy -> String -> Array String -> SignupRequest
    signupRequest username password recoverBy captchaToken invcodes = { username, password, recoverBy, captchaToken, invitation_codes: invcodes }
  • edit in client/src/Aftok/Signup.purs at line 292
    [3.22076]
    [2.16071]
    invcodes <- H.gets (_.invitationCodes)
  • edit in client/src/Aftok/Signup.purs at line 304
    [3.22464]
    [3.22464]
    <*> pure invcodes