Skip to content

Commit

Permalink
fix login
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Oct 26, 2023
1 parent 2a57399 commit 548f17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/backend/bancho.py/server/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { UserRelationProvider } from './user-relations'
import { ArticleProvider } from './article'
import { ScoreProvider } from './score'
import type { ExtractLocationSettings, ExtractSettingType } from '$base/@define-setting'
import { passwordMismatch, userNotFound } from '~/server/trpc/messages'
import { oldPasswordMismatch, passwordMismatch, userNotFound } from '~/server/trpc/messages'

import { UserProvider as Base } from '$base/server'
import type { ActiveMode, ActiveRuleset, LeaderboardRankingSystem } from '~/def/common'
Expand Down
1 change: 1 addition & 0 deletions src/server/trpc/routers/me.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const router = _router({

return await users.changePassword(
ok,
input.oldPassword,
input.newPassword,
)
}),
Expand Down

0 comments on commit 548f17d

Please sign in to comment.