Strip whitespaces from tokens (#558)
This commit is contained in:
@@ -704,8 +704,9 @@ const SetNewPasswordForm = ({
|
||||
|
||||
try {
|
||||
const agent = new BskyAgent({service: serviceUrl})
|
||||
const token = resetCode.replace(/\s/g, '')
|
||||
await agent.com.atproto.server.resetPassword({
|
||||
token: resetCode,
|
||||
token,
|
||||
password,
|
||||
})
|
||||
onPasswordSet()
|
||||
|
||||
Reference in New Issue
Block a user