mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
remove naked password from redux layer
This commit is contained in:
parent
559a3ff1f4
commit
98ce317ee1
8 changed files with 151 additions and 107 deletions
|
|
@ -8,8 +8,8 @@ import { hashPassword } from '../../utils';
|
|||
|
||||
import { disconnect, updateStatus } from '.';
|
||||
|
||||
export function forgotPasswordReset(options: WebSocketConnectOptions, passwordSalt?: string): void {
|
||||
const { userName, token, newPassword } = options as unknown as ForgotPasswordResetParams;
|
||||
export function forgotPasswordReset(options: WebSocketConnectOptions, newPassword?: string, passwordSalt?: string): void {
|
||||
const { userName, token } = options as unknown as ForgotPasswordResetParams;
|
||||
|
||||
const params: any = {
|
||||
...webClient.clientConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue