Commit 9e073c53 authored by Prafful Suthar's avatar Prafful Suthar

fix(authorization-server): Choose Account

Set users to empty array if users not in session

fix /auth/choose_user endpoint
parent c2a28735
......@@ -291,7 +291,7 @@ export class AuthService {
}
async chooseUser(req, uuid: string) {
if (req.session.users.length === 0) {
if (!req.session.users) {
req.session.users = [];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment