Fixes: Teams with non-latin characters annot signin
This commit is contained in:
@ -116,9 +116,9 @@ export default function auth(options?: { required?: boolean } = {}) {
|
||||
const sessions = JSON.stringify({
|
||||
...existing,
|
||||
[team.id]: {
|
||||
name: team.name,
|
||||
name: encodeURIComponent(team.name),
|
||||
logoUrl: team.logoUrl,
|
||||
url: team.url,
|
||||
url: encodeURIComponent(team.url),
|
||||
},
|
||||
});
|
||||
ctx.cookies.set('sessions', sessions, {
|
||||
|
Reference in New Issue
Block a user