Skip to content

Commit

Permalink
refactor: cr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Jameskmonger committed Aug 26, 2023
1 parent 5c9f793 commit e1b1ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/@creature-chess/auth-server/src/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const authenticate = async (
token: string
): Promise<UserModel> => {
if (!verifyDecodeJwt) {
throw new Error("todo");
throw new Error("Attempted to use auth0 when it is not enabled");
}

const decoded = await verifyDecodeJwt(token);
Expand Down
2 changes: 1 addition & 1 deletion modules/@creature-chess/auth-web/guest/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function GuestAuthProvider({ children }: { children: React.ReactNode }) {
() => ({
type: "guest",
id: session?.id || "",
nickname: "Guest",
nickname: "Guest " + (session?.id || ""),
}),
[session]
);
Expand Down

0 comments on commit e1b1ca7

Please sign in to comment.